It is narrated from Hazrat Abu Dharr (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Whoever lifts the curtain of someone's house and looks inside before seeking permission, he has committed an act that is not lawful for him. That is why, if the owner of the house injures his eye, it will be lost without any compensation. And if a person passes by a door where there is a curtain but the door is not closed, and his gaze falls inside, then there will be no sin upon him; rather, the sin will be upon the people of the house.