I heard the Messenger of Allah ﷺ say, "A man should not lie skin to skin with another man under a single garment, nor should a woman lie skin to skin with another woman under a single garment."
حدثنا إبراهيم بن أبي العباس حدثنا عبد الرحمن بن أبي الزناد عن موسى بن عقبة عن أبي الزبير
سمعت رسول الله ﷺ يقول لا يباشر الرجل الرجل في الثوب الواحد ولا تباشر المرأة المرأة في الثوب الواحد