حَدَّثَنَا مُحَمَّدُ بْنُ مُحَمَّدٍ التَّمَّارُ ، قَالَ : نَا عَيَّاشُ بْنُ الْوَلِيدِ الرَّقَّامُ ، قَالَ : نَا عَبْدُ الْأَعْلَى ، قَالَ : نَا حُمَيْدٌ ، عَنْ قَتَادَةَ ، عَنْ أَنَسِ بْنِ مَالِكٍ ، أَنَّ رَسُولَ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ كَانَ فِي سَفَرٍ ، فَسَمِعَ قَائِلًا يَقُولُ : اللهُ أَكْبَرُ ، اللهُ أَكْبَرُ ، فَقَالَ : عَلَى الْفِطْرَةِ ، فَقَالَ : أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ ، قَالَ : خَرَجَ مِنَ النَّارِ ، فَابْتَدَرَهُ الْقَوْمُ ، فَإِذَا رَاعِي غَنَمٍ حَضَرَتِ الصَّلَاةُ فَأَذَّنَ .
It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) was on a journey when he heard someone saying: "Allahu akbar, Allahu akbar (Allah is the Greatest, Allah is the Greatest)." He (peace and blessings be upon him) said: "He is upon the fitrah (Islam)." Then he said: "Ashhadu an la ilaha illallah (I bear witness that there is no god but Allah)," and he (peace and blessings be upon him) said: "He has come out of the Fire." The people hurried towards him, and behold, he was a shepherd of goats; the time of prayer had come, so he had called the adhan.