Sunan an-Nasa'i, Book 45, Hadith 155 (Nasa'i 4870)

It was narrated from Abu Hurairah that the Prophet said:

"Whoever looks into a house without the permission of the occupants and they put out his eye, he has no right to blood money or retaliation."