Anas bin Malik reported,

The Messenger of Allah ﷺ used to launch raids at the break of dawn. He would listen carefully, and if he heard the call to prayer, he would hold back; otherwise, he would attack.One day, he listened and heard a man saying, "Allah is the greatest, Allah is the greatest."The Prophet ﷺ said, "He is upon the natural disposition."Then the man said, "I bear witness that there is no god but Allah."The Prophet ﷺ said, "You have escaped the Fire."

Ahmad 12351

Sahih

حدثنا عبد الرحمن حدثنا حماد بن سلمة عن ثابت

عن أنس قال

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

أحمد 12351صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Anas bin Malik
Numbering
Darussalam 12351
Ahmad 12351