Hadith 5.1
Prayer
Anas said that the Prophet (ﷺ) used to attack the enemy at dawn, and he would sometimes hear the <i>adhan</i>, so if he heard an <i>adhan</i> he stopped, but otherwise he attacked. Once on hearing a man say, “God is most great, God is most great,” God’s Messenger said, “You follow Islam.” Then hearing him say, “There is no god but God,” he said, “You have come forth from hell.” They looked at him and found that he was a goatherd. Muslim transmitted it.
وَعَنْ أَنَسٍ قَالَ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُغِيرُ إِذَا طَلَعَ الْفَجْرُ وَكَانَ يَسْتَمِعُ الْأَذَانَ فَإِنْ سَمِعَ أَذَانًا أَمْسَكَ وَإِلَّا أَغَارَ فَسَمِعَ رَجُلًا يَقُولُ اللَّهُ أَكْبَرُ اللَّهُ أَكْبَرُ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «عَلَى الْفِطْرَةِ» ثُمَّ قَالَ أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهِ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «خَرَجْتَ من النَّار» فنظروا فَإِذا هُوَ راعي معزى. رَوَاهُ مُسلم
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.