The Messenger of Allah ﷺ used to teach us, saying, "Do not race ahead of the imam. When he says the takbir, say the takbir. When he recites 'nor of those who go astray' [Fatihah 1:7], say 'Ameen.' When he bows, bow with him. When he says, 'Allah hears whoever praises Him,' say, 'O Allah, our Lord, to You belongs all praise.'"
حدثنا إسحق بن إبراهيم وابن خشرم قالا أخبرنا عيسى بن يونس حدثنا الأعمش عن أبي صالح
كان رسول الله ﷺ يعلمنا يقول لا تبادروا الإمام إذا كبر فكبروا وإذا قال {ولا الضالين} فقولوا آمين وإذا ركع فاركعوا وإذا قال سمع الله لمن حمده فقولوا اللهم ربنا لك الحمد