The Prophet صلى الله عليه و سلم said:
“Beware of entering upon women, and in another wording: “Do not enter upon women.” (On the authority of ‘Uqbah b. ‘ Amar —Bukhari & Muslim)
It is requested from a woman to abide in her home (except to exit for a need or a dire necessity, while adhering to the guidelines of Islamic legislation and its etiquettes), and foreign men have been prohibited from entering upon women in homes due to the evil, trials and destruction that will result from that.
A man from the Ansar then asked:
“O Messenger of Allah, what about the in-laws?”
(In other words: does this prohibition include them? And what is meant by in-laws are the relatives of the husband (except for his father and sons) like his brother, paternal uncle, maternal uncle, and cousin)
The Prophet صلى الله عليه و سلم replied:
“The in-laws are death.”
Let us pause at this tremendous notification and deterrence. “The in-laws are death”. The in-laws—those who are the relatives of the husband, such as the brother, the uncle, the cousin, and the maternal uncle. He صلى الله عليه و سلم said: “The in-laws are death.”
What about foreign men, those who are totally distant from the woman, those who have no relationship with her, nor with her husband?!
He صلى الله عليه و سلم said: “The in-laws are death” In his صلى الله عليه و سلم usage of the word “death” there is a notification that violating Islamic etiquette and its tremendous advice does not take the one who violates it except to death and destruction, yes!!
And it is possible that this violator of Islamic etiquette could be walking on his two feet, eating, drinking, speaking; however, in reality he is dead—because virtue, chastity, nobleness and honor have died concerning him, so he is not from their people.
– Shaykh Abdul Muhsin al Abbad in “A peace of Advice & Admonition for the Women”