Sahl b. Sa'd as-Sa'id reported that a person peeped through the hole of the door of Allah's Messenger (ﷺ), and at that time Allah's Messenger (ﷺ) had with him a scratching instrument with which he had been scratching his head. When Allah's Messenger (ﷺ) saw him. he said:If I were to know that you had been peeping through the door, I would have thrust that into your eyes, and Allah's Messenger (ﷺ) said: Permission is needed as a protection against glance
Sahih MuslimHadith 2156 (3 narrations)
2156.01
2156.02
Sahl b. Sa'd as-Sa'idi reported that a person peeped through the hole of the door of Allah's Messenger (ﷺ) and he had with him some pointed thing with which he had been adjusting (the hair of his head). Allah's Messenger (ﷺ) said to him:If I were to know that you had been peeping. I would have thrust it in your eyes. Allah has prescribed seeking permission because of protection against glance
2156.03
This hadith has been transmitted on the authority of Sahl b. Sa'd as-Sa'idi with a slight variation of wording