It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "No man should lie down with another man who is naked, and no woman should lie down with another woman who is naked."
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 2773
Hadith Gradingحکم دارالسلام:حديث صحيح، رواية سماك عن عكرمة مضطربة، لكنه توبع