Abu Masud Uqba bin Amr reported,

I was beating a slave of mine when I heard a voice behind me that I could not make out, saying, "Abu Masud, Allah has more power over you than you have over him."I turned around and saw that it was the Messenger of Allah ﷺ.I said, "Messenger of Allah, he is free for the sake of Allah."The Messenger of Allah ﷺ said, "Had you not done so, the Fire would have scorched you," or, "the Fire would have touched you."

Azami 318

Sahih

عن أبي مسعود الأنصاري قال

كنت أضرب غلاما لي، فسمعت من خلفي صوتا لا أعلمه: أبا مسعود! الله أقدر عليك منك عليه. فالتفت فإذا هو رسول الله ﷺ. فقلت: يا رسول الله، هو حر لوجه الله. فقال رسول الله ﷺ: أما لو لم تفعل للفحتك النار، أو لمستك النار.

الأعظمي 318صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Faith in Allah عز وجل
Section
Affirmation of the Face for Allah the Exalted
Numbering
Jami al-Kamil 318 (2nd edition)
Azami 318