BAYHAQI 1904:
from ʿAbdullāh b. Masʿūd —
[Machine] While we were with the Messenger of Allah ﷺ during one of his journeys, we heard someone calling out, "Allah is the Greatest, Allah is the Greatest." So the Messenger of Allah ﷺ said, "Upon Fitrah (natural disposition), he said, 'I bear witness that there is no god but Allah.'" The Messenger of Allah ﷺ then said, 'He has escaped from the fire.' Then we intercepted him, and when the time for prayer arrived, he offered it and called out with it.
البيهقي ١٩٠٤:
عن عبد الله بن مسعود —
بَيْنَمَا نَحْنُ مَعَ رَسُولِ اللهِ ﷺ فِي بَعْضِ أَسْفَارِهِ إِذْ سَمِعْنَا مُنَادِيًا يَقُولُ اللهُ أَكْبَرُ اللهُ أَكْبَرُ فَقَالَ رَسُولُ اللهِ ﷺ عَلَى الْفِطْرَةِ فَقَالَ أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللهُ فَقَالَ رَسُولُ اللهِ ﷺ خَرَجَ مِنَ النَّارِ قَالَ فَابْتَدَرْنَاهُ فَإِذَا صَاحِبُ مَاشِيَةٍ أَدْرَكَتْهُ الصَّلَاةُ فَنَادَى بِهَا
hadithunlocked.com