Abu Huraira reported having heard Allah's Messenger (ﷺ) say: He who peeped into the house of people without their consent, it is permissible for them to put out his eyes
Book 38 · Hadith 57
صحيح مسلم
Abu Huraira reported having heard Allah's Messenger (ﷺ) say: He who peeped into the house of people without their consent, it is permissible for them to put out his eyes