Mishkat al-Masabih 663
عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «الْإِمَامُ ضَامِنٌ وَالْمُؤَذِّنُ مؤتمن الله أَرْشِدِ الْأَئِمَّةَ وَاغْفِرْ لِلْمُؤَذِّنِينَ» . رَوَاهُ أَحْمَدُ وَأَبُو دَاوُدَ وَالتِّرْمِذِيُّ وَالشَّافِعِيُّ وَفِي أُخْرَى لَهُ بِلَفْظِ المصابيح
From Abu Hurayrah, who said: The Messenger of Allah ﷺ said: "The imam is a guarantor and the muʾadhdhin is entrusted. O Allah, guide the imams and forgive the muʾadhdhins." Reported by Ahmad, Abu Dawud, at-Tirmidhi and ash-Shafiʿi, and in another narration of his with the wording of al-Masabih.