Sahih Muslim 411 a
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
إِنَّمَا جُعِلَ الإِمَامُ لِيُؤْتَمَّ بِهِ فَإِذَا كَبَّرَ فَكَبِّرُوا وَإِذَا سَجَدَ فَاسْجُدُوا وَإِذَا رَفَعَ فَارْفَعُوا وَإِذَا قَالَ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ . فَقُولُوا رَبَّنَا وَلَكَ الْحَمْدُ . وَإِذَا صَلَّى قَاعِدًا فَصَلُّوا قُعُودًا أَجْمَعُونَ "
Anas b. Malik reported:
The Apostle of Allah (ﷺ) fell down from a horse and his right side was grazed. We went to him to inquire after his health when the time of prayer came. He led us in prayer in a sitting posture and we said prayer behind him sitting, and when he finished the prayer hesaid: The Imam is appointed only to be followed; so when he recites takbir, you should also recite that; when he prostrates, you should also prostrate; when he rises up, you should also rise up, and when he said" God listens to him who praises Him," you should say:" Our Lord, to You be the praise," and when he prays sitting, all of you should pray sitting.
Full reference and source
Sahih Muslim 411 a In-book : Book 4, Hadith 83 USC-MSA web (English) : Book 4, Hadith 817 (deprecated)
View source on Sunnah.com (opens in a new tab)