«الإمام ضامن فإن أحسن فله ولهم وإن أساء فعليه ولا عليهم»
The Prophet (peace and blessings be upon him) said:
"The imam is a guarantor (that is, responsible). If he leads the prayer well, the reward is for him and for those following him; and if he makes a mistake, its burden is upon him and not upon those following him."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 2786