AHMAD 16924:
from Muʿāwiyah b. Abū Sufyān —
[Machine] The translation of the passage is as follows: "The Messenger of Allah ﷺ used to repeat the words of the Mu'adhdhin when he heard him saying, 'Allah is the Greatest, Allah is the Greatest.' He would say the same words. And when the Mu'adhdhin said, 'I bear witness that there is no god but Allah,' he would say the same words. And when the Mu'adhdhin said, 'I bear witness that Muhammad is the Messenger of Allah,' he would say the same words."
أحمد ١٦٩٢٤:
عن معاويه بن ابو سفيان —
أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا سَمِعَ الْمُؤَذِّنَ يَقُولُ اللهُ أَكْبَرُ اللهُ أَكْبَرُ قَالَ مِثْلَ قَوْلِهِ وَإِذَا قَالَأَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ قَالَ مِثْلَ قَوْلِهِ وَإِذَا قَالَ أَشْهَدُ أَنَّ مُحَمَّدًا رَسُولُ اللهِ قَالَ مِثْلَ قَوْلِهِ
hadithunlocked.com