Sahl bin Saad reported,

A man peeked through a hole in the door of the Prophet's house ﷺ while the Prophet ﷺ was scratching his head with a comb. The Prophet ﷺ said, "Had I known you were looking, I would have thrust it into your eye. Permission to enter has been prescribed only because of the gaze."

Bukhari 5924

Sahih

حدثنا آدم بن أبي إياس حدثنا ابن أبي ذئب عن الزهري

عن سهل بن سعد

أن رجلا اطلع من جحر في دار النبي ﷺ والنبي ﷺ يحك رأسه بالمدرى فقال لو علمت أنك تنظر لطعنت بها في عينك إنما جعل الإذن من قبل الأبصار

البخاري 5924صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Clothing
Chapter
Combing
Numbering
Darussalam 5924
Bukhari 5924