Hadith 15249

(حديث مرفوع) (حديث موقوف) وَقَالَ : " إِذَا أَعْجَبَتْ أَحَدَكُمُ الْمَرْأَةُ , فَلْيَقَعْ عَلَى أَهْلِهِ , فَإِنَّ ذَلِكَ يَرُدُّ مِنْ نَفْسِهِ " .
It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that no man should touch his naked body with another man in a single garment, nor should any woman touch her naked body with another woman in a single garment. The Prophet (peace and blessings be upon him) strictly forbade this. And he said that when any one of you is attracted to a woman, he should go to his wife, for this will remove the thoughts that have arisen in his heart.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 15249
Hadith Grading حکم دارالسلام: صحيح لغيره، م: 1403، وإسناده سابقه، وانظر: 14537