It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "No man should lie skin to skin with another man, nor any woman with another woman."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11678