The Messenger of Allah (peace and blessings be upon him) said: If a person is peeping into your house (through a hole or a lattice, etc.) without your permission and you throw a pebble at him which causes his eye to be gouged out, then there is no punishment upon you.
Hadith Referenceاللؤلؤ والمرجان / كتاب الآداب / 1395
Hadith Gradingمحدثین:«صحیح»
Hadith Takhrij«صحیح، أخرجه البخاري في: 87 كتاب الديات: 15 باب من أخذ حقه أو اقتص دون السلطان»