Abu Huraira (may Allah be pleased with him) reports that the Messenger of Allah (peace and blessings be upon him) said: "The imam is a guarantor, and the muezzin is trustworthy. O Allah! Guide the imams and forgive the muezzins."
Related hadith on this topic