Sa'id b. Zaid reported God’s Messenger as saying, “He who is killed in defence of his religion is a martyr, he who is killed in self-defence is a martyr, he who is killed in defence of his property is a martyr, and he who is killed in defence of his family is a martyr.”
Abu Dharr reported God’s Messenger as saying, “If anyone removes a curtain and looks into a house before receiving permission and sees anything in those within which should not be seen, he has committed an offence which it is not lawful for him to commit. If a man confronted him when he looked in and put out his eye, I would not blame him; but if a man passes a door which has no curtain and is not shut and looks in, he has committed no sin, for the sin pertains only to the people inside.”
Tirmidhi transmitted it, saying this is a gharib tradition.