The Messenger of Allah ﷺ taught us our prayer and our practice, saying, "The imam is appointed only to be followed. When he says the takbir, say the takbir. When he recites 'not of those who have incurred wrath, nor of those who are astray' [Fatihah 1:7], say 'Ameen,' and Allah the Exalted will answer you. When he bows, bow. When he rises, rise. When he says, 'Allah hears whoever praises Him,' say, 'Our Lord, to You belongs all praise,' and Allah will hear you. When he prostrates, prostrate. When he rises, rise. The imam prostrates before you and rises before you."The Messenger of Allah ﷺ said, "So that makes up for that."
حدثنا إسماعيل حدثنا سعيد عن قتادة عن يونس بن جبير عن حطان بن عبد الله الرقاشي
علمنا رسول الله ﷺ صلاتنا وسنتنا فقال إنما الإمام ليؤتم به فإذا كبر فكبروا وإذا قال {غير المغضوب عليهم ولا الضالين} فقولوا آمين يجبكم الله تعالى وإذا ركع فاركعوا وإذا رفع فارفعوا وإذا قال سمع الله لمن حمده فقولوا ربنا لك الحمد يسمع الله لكم وإذا سجد فاسجدوا وإذا رفع فارفعوا فإن الإمام يسجد قبلكم ويرفع قبلكم قال رسول الله ﷺ فتلك بتلك