حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْحَجَّاجِ ، حَدَّثَنَا حَمَّادٌ ، عَنْ ثَابِتٍ ، عَنْ أَنَسٍ ، أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ يُغِيرُ عِنْدَ صَلَاةِ الصُّبْحِ ، فَيَسْتَمِعُ الْأَذَانَ ، فَإِنْ سَمِعَ أَذَانًا وَإِلَّا أَغَارَ ، فَاسْتَمَعَ ذَاتَ يَوْمٍ فَسَمِعَ رَجُلًا يَقُولُ : اللهُ أَكْبَرُ ، اللهُ أَكْبَرُ ، فَقَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ : عَلَى الْفِطْرَةِ ، قَالَ : أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ ، فَقَالَ : خَرَجْتَ مِنَ النَّارِ .
It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) used to attack (the enemy) at the time of the Fajr prayer, and (before attacking) he would listen for the adhan; if he heard an adhan (he would hold back), otherwise he would attack. One day he listened attentively and heard a man saying: "Allahu akbar, Allahu akbar (Allah is the Greatest, Allah is the Greatest)." The Messenger of Allah (peace and blessings be upon him) said: "(This man is) upon the fitrah (the natural religion)." Then, when the man said: "Ashhadu an la ilaha illallah (I bear witness that there is no god worthy of worship but Allah)," he (peace and blessings be upon him) said: "(O caller,) you have come out of the Fire."