Al-Adab Al-Mufrad 171
Grading supplied with this record: Sahih (Al-Albani)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا مُحَمَّدُ بْنُ سَلاَمٍ، قَالَ: أَخْبَرَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي مَسْعُودٍ قَالَ: كُنْتُ أَضْرِبُ غُلاَمًا لِي، فَسَمِعْتُ مِنْ خَلْفِي صَوْتًا: اعْلَمْ أَبَا مَسْعُودٍ، لَلَّهُ أَقْدَرُ عَلَيْكَ مِنْكَ عَلَيْهِ، فَالْتَفَتُّ فَإِذَا هُوَ رَسُولُ اللهِ صلى الله عليه وسلم، قُلْتُ: يَا رَسُولَ اللهِ، فَهُوَ حُرٌّ لِوَجْهِ اللهِ، فَقَالَ: أَمَا لَوْ لَمْ تَفْعَلْ لَمَسَّتْكَ النَّارُ أَوْ لَلَفَحَتْكَ النَّارُ.
Abu Mas'ud said, "I was beating a slave of mine when I heard a voice behind me, 'Know, Abu Mas'ud, that Allah is able to call you to account for this slave.' I turned around and there was the Messenger of Allah (ﷺ). I said, 'Messenger of Allah, he is free for the sake of Allah!' He said, 'If you had not done that, the Fire would have touched you (or the Fire would have burned you).'"
Full reference and source
Al-Adab Al-Mufrad 171 In-book : Book 9, Hadith 16 English translation : Book 9, Hadith 171
View source on Sunnah.com (opens in a new tab)