It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that once the Messenger of Allah (peace and blessings be upon him) was ill. We prayed behind him while he was sitting. Meanwhile he saw us standing and signaled to us to sit. Then he mentioned the complete hadith.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2249