English : Vol. 1, Book 5, Hadith 1237
Grading supplied with this record: Sahih (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّمَا جُعِلَ الإِمَامُ لِيُؤْتَمَّ بِهِ فَإِذَا رَكَعَ فَارْكَعُوا وَإِذَا رَفَعَ فَارْفَعُوا وَإِذَا صَلَّى جَالِسًا فَصَلُّوا جُلُوسًا "
It was narrated that "Aishah said:
"The Messenger of Allah (ﷺ) fell ill and some of his Companions came to visit him. The Messenger of Allah (ﷺ) performed prayer while sitting down, and they prayed behind him standing up. He gestured them to sit down, and when he finished he said: "The Imam is appointed to be followed. When he bows, then bow; when he stands up again, then stand up, and if he prays sitting down then pray sitting down.'"
Full reference and source
English : Vol. 1, Book 5, Hadith 1237 Arabic : Book 5, Hadith 1295
View source on Sunnah.com (opens in a new tab)