(17) باب مَنِ اطَّلَعَ فِي دَارِ قَوْمٍ بِغَيْرِ إِذْنِهِمْ
Narrated Sahl bin Sa'd As-Sa'idi:
that a man peeked in on the Messenger of Allah (ﷺ), in one of the apartments of the Prophet (ﷺ), while the Prophet (ﷺ) had a Midrah (an iron comb) with which he was scratching his head. So the Prophet (ﷺ) said: "If I knew that you were looking then I would have poked your eyes with it. Seeking permission has only been enjoined because of the sight." (FR)
Reference (FR): Jami` at-Tirmidhi 2709 (FR)
In-book reference (FR): Book 42, Hadith 22 (FR)
English translation (FR): Vol. 5, Book 40, Hadith 2709 (FR)