Abu Hurairah and Zayd bin Khalid reported,

A bedouin came to the Messenger of Allah ﷺ and said, "Messenger of Allah, I implore you by Allah to judge between us by the Book of Allah."The other disputant, who was more knowledgeable than him, said, "Yes, judge between us by the Book of Allah, and permit me to speak."The Messenger of Allah ﷺ said, "Speak."He said, "My son was a hired worker for this man, and he committed adultery with his wife. I was told that my son must be stoned, so I ransomed him with a hundred sheep and a slave girl. Then I asked the people of knowledge, and they informed me that my son is to receive a hundred lashes and be banished for a year, while the man's wife is to be stoned."The Messenger of Allah ﷺ said, "By the One in whose hand is my soul, I will judge between you by the Book of Allah. The slave girl and the sheep must be returned to you. Your son shall receive a hundred lashes and be banished for a year. And you, Unays, go in the morning to this man's wife, and if she confesses, stone her."So Unays went to her in the morning, and she confessed. The Messenger of Allah ﷺ gave the order, and she was stoned.

Muslim 4435

Sahih

حدثنا قتيبة بن سعيد حدثنا ليث ح و حدثناه محمد بن رمح أخبرنا الليث عن ابن شهاب عن عبيد الله بن عبد الله بن عتبة بن مسعود

عن أبي هريرة وزيد بن خالد الجهني أنهما قالا

إن رجلا من الأعراب أتى رسول الله ﷺ فقال يا رسول الله أنشدك الله إلا قضيت لي بكتاب الله فقال الخصم الآخر وهو أفقه منه نعم فاقض بيننا بكتاب الله وأذن لي فقال رسول الله ﷺ قل قال إن ابني كان عسيفا على هذا فزنى بامرأته وإني أخبرت أن على ابني الرجم فافتديت منه بمائة شاة ووليدة فسألت أهل العلم فأخبروني أنما على ابني جلد مائة وتغريب عام وأن على امرأة هذا الرجم فقال رسول الله ﷺ والذي نفسي بيده لأقضين بينكما بكتاب الله الوليدة والغنم رد وعلى ابنك جلد مائة وتغريب عام واغد يا أنيس إلى امرأة هذا فإن اعترفت فارجمها قال فغدا عليها فاعترفت فأمر بها رسول الله ﷺ فرجمت

مسلم 4435صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Legal punishments
Chapter
One who confessed to committing zina
Numbering
Darussalam 4435
Muslim 4435