Riyad as-Salihin #1628 · The Book of the Prohibited actions

Riyad as-SalihinUqbah b. ‘Amir
Riyad as-Salihin · Book 18 · The Book of the Prohibited actions
Riyad as-Salihin · كتاب 18 · كتاب الأمور المنهي عنها
The Messenger of Allah (صلى الله عليه وسلم) said, "Avoid (entering a place) in which are women (uncovered or simply to mix with them in seclusion)." A man from the Ansar said, "Tell me about the brother of a woman's husband." He replied, "The brother of a woman's husband is death." [Al- Bukhari and Muslim] .
وعن عقبة بن عامر رضي الله عنه أن رسول الله صلى الله عليه وسلم قال:
"إياكم والدخول على النساء"، فقال رجل من الأنصار: أفرأيت الحمو؟ قال: "الحمو الموت" ((متفق عليه)). الحمو قريب الزوج كأخيه، وابن أخيه، وابن عمه.
Reference : Riyad as-Salihin 1628In-book reference : Book 18, Hadith 118