It is narrated from Sayyiduna ‘Ubada bin Samit (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: “Take (the rulings of Shari‘ah) from me, take (the command of the religion) from me. Allah Almighty has made a way for those women. If an unmarried man commits fornication with an unmarried woman, the punishment is one hundred lashes and exile for one year. And if a married man commits adultery with a married woman, the punishment is one hundred lashes and stoning.”
Hadith Referenceسنن دارمي / من كتاب الاحدود / 2364
With this chain as well, Sayyiduna Ubadah bin Samit (may Allah be pleased with him) narrated similarly from the Noble Prophet (peace and blessings be upon him).
Hadith Referenceسنن دارمي / من كتاب الاحدود / 2365
Hadith Gradingتحقیق (حسین سلیم أسد الدارانی):إسناده صحيح وهو مكررسابقه، [مكتبه الشامله نمبر: 2373]