Anas bin Malik reported,

The Messenger of Allah ﷺ used to launch raids at dawn. He would listen for the call to prayer. If he heard the adhan being called, he would hold back, and if not, he would attack.He heard a man saying, "Allah is the greatest, Allah is the greatest."The Messenger of Allah ﷺ said, "Upon the natural disposition."Then the man said, "I bear witness that there is no god but Allah, I bear witness that there is no god but Allah."The Messenger of Allah ﷺ said, "You have come out of the Fire."They looked, and there he was, a goatherd.

Azami 1885

Sahih

عن أنس قال

كان رسول الله ﷺ يغير إذا طلع الفجر، وكان يستمع الأذان، فإن سمع أذانا أمسك وإلا أغار، فسمع رجلا يقول: الله أكبر الله أكبر، فقال رسول الله ﷺ: على الفطرة ثم قال: أشهد أن لا إله إلا الله، أشهد أن لا إله إلا الله، فقال رسول الله ﷺ: خرجت من النار فنظروا فإذا هو راعي معزى.

الأعظمي 1885صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Adhan
Section
Recommendation of adhan for one who prays alone
Numbering
Jami al-Kamil 1885 (2nd edition)
Azami 1885