وعن أبي موسي الأشعري رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ “ الاستئذان ثلاث، فإن أذن لك وإلا فارجع‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏
Copy
Sahl bin Sa'd (May Allah be pleased with him) reported

The Messenger of Allah (ﷺ) said, "Seeking permission to enter (somebody's house) has been prescribed in order to restrain the eyes (from looking at something we are not supposed to look at)."[Al-Bukhari and Muslim].