"The Messenger of Allah (ﷺ) said: 'The Imam is appointed to be followed, so when he says the takbir, say the takbir, and when he recites, be silent.'"
Sunan an-Nasa'i Book 11, Hadith 47