It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Holy Prophet (peace and blessings be upon him) said: If a person looks into your house without your permission and you throw a pebble at him which causes his eye to be blinded, there is no sin upon you.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7313