Hittan bin Abdullah reported,

I prayed with Abu Musa Ashari, and when it came to the sitting position, one of the men in the congregation said, "Prayer has been ordained alongside righteousness and zakat."When Abu Musa finished the prayer and gave the salam, he turned and asked, "Which of you said such-and-such?"The people remained silent.Then he asked again, "Which of you said such-and-such?"The people remained silent.He said, "Perhaps it was you, Hittan, who said it?"Hittan replied, "I did not say it, and I was afraid you might rebuke me for it."Then a man among the congregation said, "I said it, and I intended only good by it."Abu Musa said, "Do you not know what to say in your prayer? The Messenger of Allah ﷺ addressed us, made our practice clear to us, and taught us our prayer. He said, 'When you pray, straighten your rows, then let one of you lead you. When he says the takbir, say the takbir. When he recites "not of those who have earned anger, nor of those who go astray" [Fatihah 1:7], say Ameen, and Allah will answer you. When he says the takbir and bows, say the takbir and bow, for the imam bows before you and rises before you.'The Messenger of Allah ﷺ said, 'So that makes up for that. When he says, Sami Allahu liman hamidah, say, Allahumma Rabbana laka l-hamd, and Allah will hear you, for Allah, the Mighty and Majestic, said upon the tongue of His Prophet ﷺ, Sami Allahu liman hamidah. When he says the takbir and prostrates, say the takbir and prostrate, for the imam prostrates before you and rises before you.'The Messenger of Allah ﷺ said, 'So that makes up for that. When it comes to the sitting position, let the first words of one of you be, At-tahiyyatu t-tayyibatu s-salawatu lillah. As-salamu alayka ayyuha n-nabiyyu wa rahmatullahi wa barakatuh. As-salamu alayna wa ala ibadillahi s-salihin. Ashhadu an la ilaha illa Allah, wa ashhadu anna Muhammadan abduhu wa rasuluh.'"

Muslim 904

Sahih

حدثنا سعيد بن منصور وقتيبة بن سعيد وأبو كامل الجحدري ومحمد بن عبد الملك الأموي واللفظ لأبي كامل قالوا حدثنا أبو عوانة عن قتادة عن يونس بن جبير

عن حطان بن عبد الله الرقاشي قال

صليت مع أبي موسى الأشعري صلاة فلما كان عند القعدة قال رجل من القوم أقرت الصلاة بالبر والزكاة قال فلما قضى أبو موسى الصلاة وسلم انصرف فقال أيكم القائل كلمة كذا وكذا قال فأرم القوم ثم قال أيكم القائل كلمة كذا وكذا فأرم القوم فقال لعلك يا حطان قلتها قال ما قلتها ولقد رهبت أن تبكعني بها فقال رجل من القوم أنا قلتها ولم أرد بها إلا الخير فقال أبو موسى أما تعلمون كيف تقولون في صلاتكم إن رسول الله ﷺ خطبنا فبين لنا سنتنا وعلمنا صلاتنا فقال إذا صليتم فأقيموا صفوفكم ثم ليؤمكم أحدكم فإذا كبر فكبروا وإذ قال {غير المغضوب عليهم ولا الضالين} فقولوا آمين يجبكم الله فإذا كبر وركع فكبروا واركعوا فإن الإمام يركع قبلكم ويرفع قبلكم فقال رسول الله ﷺ فتلك بتلك وإذا قال سمع الله لمن حمده فقولوا اللهم ربنا لك الحمد يسمع الله لكم فإن الله تبارك وتعالى قال على لسان نبيه ﷺ سمع الله لمن حمده وإذا كبر وسجد فكبروا واسجدوا فإن الإمام يسجد قبلكم ويرفع قبلكم فقال رسول الله ﷺ فتلك بتلك وإذا كان عند القعدة فليكن من أول قول أحدكم التحيات الطيبات الصلوات لله السلام عليك أيها النبي ورحمة الله وبركاته السلام علينا وعلى عباد الله الصالحين أشهد أن لا إله إلا الله وأشهد أن محمدا عبده ورسوله

مسلم 904صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Tashahhud in prayer
Numbering
Darussalam 904
Muslim 904