Abdul-Rahman bin Hunayn had intercourse with his wife's slave girl, and the case was brought before Numan bin Bashir, who was the governor of Kufa. He said, "I will judge your case according to the ruling of the Messenger of Allah ﷺ. If she had made the slave girl lawful for you, I will lash you one hundred times, and if she had not made her lawful for you, I will stone you to death."They found that she had indeed made her lawful for him, so he lashed him one hundred times.Qatada said, "I wrote to Habib bin Salim, and he wrote this back to me."
حدثنا موسى بن إسمعيل حدثنا أبان حدثنا قتادة عن خالد بن عرفطة
له عبد الرحمن بن حنين وقع على جارية امرأته فرفع إلى النعمان بن بشير وهو أمير على الكوفة فقال لأقضين فيك بقضية رسول الله ﷺ إن كانت أحلتها لك جلدتك مائة وإن لم تكن أحلتها لك رجمتك بالحجارة فوجدوه قد أحلتها له فجلده مائة قال قتادة كتبت إلى حبيب بن سالم فكتب إلي بهذا
[Hasan] Nasai narrated it in the Book of Marriage, in the chapter on the lawfulness of intercourse, no. 3363, from the hadith of Aban bin Yazid al-Attar with the same wording. Tirmidhi criticized it, no. 1452. The hadith has corroborating narrations, and transmission from the book is sahih so long as no disqualifying defect is established in the chain.