Sayyiduna Abdullah bin Amr (may Allah be pleased with him) reported this as a marfu' hadith: The Prophet (peace and blessings be upon him) said: "The likeness of one who sits on the bed of a woman whose husband is absent is that of a man who will be bitten by one of the black serpents on the Day of Resurrection."
Al-Tabarani recorded it, and its narrators are thiqat (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الحدود والديات / 10559