Sahih Muslim | Book 25 | Chapter 9

Narrated by Sahl b. Sa'd as-Sa'id
Sahl b. Sa'd as-Sa'id reported that a person peeped through the hole of the door of Allah's Messenger (may peace be upon him), and at that time Allah's Messenger (may peace be upon him) had with him a scratching instrument with which he had been scratching his head. When Allah's Messenger (may peace be upon him) 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 (may peace be upon him) said: Permission is needed as a protection against glance.

Narrated by Sahl b. Sa'd as-Sa'idi
Sahl b. Sa'd as-Sa'idi reported that a person peeped through the hole of the door of Allah's Messenger (may peace be upon him) and he had with him some pointed thing with which he had been adjusting (the hair of his head). Allah's Messenger (may peace be upon him) 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.

Narrated by Sahl b. Sa'd as-Sa'idi
This hadith has been transmitted on the authority of Sahl b. Sa'd as-Sa'idi with a slight variation of wording.
Narrated by Anas b. Malik
Anas b. Malik reported that a person peeped in some of the holes (in the doors) of Allah's Messenger (may peace be upon him) (and he found him) standing up (lifting) an arrow or some arrows. The narrator said: I perceived as if Allah's Messenger (may peace be upon him) was going to pierce (his eyes).

Narrated by Abu Huraira
Abu Huraira reported having heard Allah's Messenger (may peace be upon him) say: He who peeped into the house of people without their consent, it is permissible for them to put out his eyes.

Narrated by Abu Huraira
Abu Huraira reported Allah's Messenger (may peace be upon him) as saying: If a person were to cast a glance in your (house) without permission, and you had in your hand a staff and you would have thrust that in his eyes, there is no harm for you.