Sayyiduna Abu Hurairah (may Allah be pleased with him) reports that the Prophet (peace and blessings be upon him) said: "Whoever peeps into the houses of a people without their permission, it becomes lawful for them to gouge out his eye."
Related hadith on this topic