Language:
كتاب التقصير
18  
Shortening the Prayers (At-Taqseer)
(17)
Chapter: To offer Salat (prayers) while sitting
(17)
باب صَلاَةِ الْقَاعِدِ
Sahih al-Bukhari 1113

Narrated `Aisha:

Allah's Messenger (ﷺ) prayed in his house while sitting during his illness and the people prayed behind him standing and he pointed to them to sit down. When he had finished the prayer, he said, "The Imam is to be followed and so when he bows you should bow; and when he lifts his head you should also do the same."

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكٍ، عَنْ هِشَامِ بْنِ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ أَنَّهَا قَالَتْ صَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم فِي بَيْتِهِ وَهْوَ شَاكٍ، فَصَلَّى جَالِسًا وَصَلَّى وَرَاءَهُ قَوْمٌ قِيَامًا، فَأَشَارَ إِلَيْهِمْ أَنِ اجْلِسُوا، فَلَمَّا انْصَرَفَ قَالَ ‏ "‏ إِنَّمَا جُعِلَ الإِمَامُ لِيُؤْتَمَّ بِهِ، فَإِذَا رَكَعَ فَارْكَعُوا، وَإِذَا رَفَعَ فَارْفَعُوا ‏"‏‏.‏
Reference : Sahih al-Bukhari 1113
In-book reference : Book 18, Hadith 33
USC-MSA web (English) reference : Vol. 2, Book 20, Hadith 214
  (deprecated numbering scheme)