Hadith 15184

(حديث مرفوع) (حديث موقوف) وَسَمِعْت رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ : " لَا تُبَاشِرِ الْمَرْأَةُ الْمَرْأَةَ فِي الثَّوْبِ الْوَاحِدِ ، وَلَا يُبَاشِرِ الرَّجُلُ الرَّجُلَ فِي الثَّوْبِ الْوَاحِدِ " ، قَالَ : فَقُلْنَا لِجَابِرٍ أَكُنْتُمْ تَعُدُّونَ الذُّنُوبَ شِرْكًا ؟ ، قَالَ مَعَاذَ اللَّهِ .
And I heard the Prophet (peace and blessings be upon him) say that a man should not touch his naked body with another man, and a woman should not touch her naked body with another woman. Abu Az-Zubair says that I asked Sayyiduna Jabir (may Allah be pleased with him), "Do you people consider sins to be shirk?" He replied, "Allah's refuge (from this)."
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 15184
Hadith Grading حکم دارالسلام: صحيح لغيره، وأبو الزبير لم يصرح بسماعه من جابر ، وانظر: 14836