The Book of Prayers
Ṣaḥīḥ Muslim 930
اللَّهُمَّ رَبَّنَا لَكَ الْحَمْدُ . وَإِذَا سَجَدَ فَاسْجُدُوا وَإِذَا صَلَّى جَالِسًا فَصَلُّوا جُلُوسًا أَجْمَعُونَ
Allāhumma rabbanā laka al-ḥamdu . wa-idhā sajada fāsjudūā wa-idhā ṣallā jālisan faṣallūā julūsan ajmaʿūna
Transliteration generated from the Arabic vowel marks
The full narration
Abu Huraira reported:The Messenger of Allah (ﷺ) said: The Imam is appointed, so that he should be followed, so don't be at variance with him. Recite takbir when he recites it; bow down when he bows down and when he says:" Allah listens to him who praises Him," say:" O Allah, our Lord, to Thee be the Praise." And when he (the Imam) prostrates, you should also prostrate, and when he says prayer sitting, you should all observe prayer sitting
Source
Ṣaḥīḥ Muslim · 930
- Agreed upon as authentic (al-Bukhārī / Muslim)