Abu Hurairah reported,

Zayd bin Khalid al-Juhani reported that two men brought a dispute before the Messenger of Allah ﷺ.One of them said, "Messenger of Allah, judge between us according to the Book of Allah."The other, who was the more knowledgeable of the two, said, "Yes, Messenger of Allah, judge between us according to the Book of Allah, and permit me to speak."The Messenger of Allah ﷺ said, "Speak."He said, "My son was a hired worker employed by this man, and he committed adultery with the man's wife. They told me that my son was liable to be stoned, so I ransomed him with a hundred sheep and a slave girl of mine. Then I asked the people of knowledge, and they informed me that my son was liable only to a hundred lashes and banishment for a year, and that stoning was due upon the man's wife."The Messenger of Allah ﷺ said, "By the One in whose hand is my soul, I shall judge between you according to the Book of Allah. As for your sheep and your slave girl, they are to be returned to you." He had the man's son flogged with a hundred lashes and banished for a year, and he ordered Unays al-Aslami to go to the other man's wife, instructing him that if she confessed, he was to stone her. She confessed, and he stoned her.

Azami 6963

Sahih

عن أبي هريرة

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

الأعظمي 6963صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Legal punishments
Chapter
Hadd of zina
Section
Legal punishment for an unmarried fornicator is one hundred lashes and exile for a year
Numbering
Jami al-Kamil 6963 (2nd edition)
Azami 6963