He told that he heard God’s Messenger say, “If anyone were to look into your house without receiving your permission and you were to throw a pebble at him and put out his eye, you would be guilty of no offence.”
Abu Huraira told that a man came and asked God’s Messenger to tell him what he should do if a man came wanting to take his property. He replied, “Do not give him your property.” He asked him to tell him what to do if the man fought with him, and he replied, “Fight with him.” He asked him to tell him what would happen if the man killed him, and he replied, “You will be a martyr.” He asked him to tell him what would happen if he killed the man, and he replied, “He will go to hell.”
Sahl b. Sa'd said that a man looked through a hole in God’s Messenger’s door when God’s Messenger had a spike with which he was scratching his head, so he said, “If I knew that you were seeing me I would poke it in your eyes, for asking permission has been appointed only on account of what people may see.”