It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "If a man peeps into another man's house and he puts out his eye, there is nothing against him for it."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17659