It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: If a man looks into your house without your permission and you throw a pebble at him which causes his eye to be damaged, there is no sin upon you.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9525
Hadith Gradingحکم دارالسلام:حدیث صحیح ، له إسنادان ، الأول جید ، والثاني قوي ، خ : 6902 ، م : 2158