Abu Umama bin Sahl reported,

I heard Muawiya bin Abu Sufyan, while he was seated on the pulpit, when the muezzin gave the call to prayer and said, "Allah is the greatest, Allah is the greatest."Muawiya said, "Allah is the greatest, Allah is the greatest."The muezzin said, "I bear witness that there is no god but Allah."Muawiya said, "And so do I."The muezzin said, "I bear witness that Muhammad is the Messenger of Allah."Muawiya said, "And so do I."When the call to prayer was completed, he said, "People, I heard the Messenger of Allah ﷺ in this very seat, when the muezzin called the prayer, say exactly what you have just heard me say."

Azami 3310

Sahih

عن أبي أمامة بن سهل بن حنيف قال

سمعت معاوية بن أبي سفيان وهو جالس على المنبر، أذن المؤذن قال: الله أكبر الله أكبر. قال معاوية: الله أكبر الله أكبر. قال: أشهد ألا إله إلا الله. فقال معاوية: وأنا. قال: أشهد أن محمدا رسول الله. فقال معاوية: وأنا. فلما أن قضى التأذين قال: يا أيها الناس! إني سمعت رسول الله ﷺ على هذا المجلس- حين أذن المؤذن- يقول ما سمعتم مني من مقالتي.

الأعظمي 3310صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Friday
Chapter
Friday sermon
Section
Imam answering the muezzin while on the minbar
Numbering
Jami al-Kamil 3310 (2nd edition)
Azami 3310