It reached Sayyiduna Abu Hurayrah (may Allah be pleased with him) from the Prophet (peace and blessings be upon him) that he (peace and blessings be upon him) said: "If a man peeps into someone's house without permission, and the owner of the house throws a pebble at him and puts out his eye, there is no sin upon him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17655