Sahih al-Bukhari 6842
Abdullah bin Yusuf narrated to us that Malik told us. He narrated from Ibn Shihab, Ibn Shihab from Ubaidullah bin Abdullah bin Utbah bin Mas'ud, Ubaidullah from Hazrat Abu Hurairah (ra) and Hazrat Zaid bin Khalid (ra), that both of them told him that two men brought their dispute to the Messenger of Allah (saw), and one of them said: “Judge between us according to the Book of Allah.” And the other, who was the more understanding of the two, said: “Yes, O Messenger of Allah (saw), judge between us according to the Book of Allah, and permit me to state my case.” He (saw) said: “State it.” He said: “My son was a hired servant with this man.” Malik said: Asif means a labourer. “And he committed adultery with his wife. People told me that my son would be stoned, so I ransomed him from this man by giving a hundred goats and a slave girl of mine. Then I asked people of knowledge, and they told me that my son was to receive only a hundred lashes and be sent out of the city for one year, and that it was his wife who was to be stoned.” The Messenger of Allah (saw) said: “Listen, by Him in Whose hand is my life, I shall judge between you only according to the Book of Allah. As for your goats and slave girl, they are to be returned to you.” And he (saw) had his son given a hundred lashes and exiled him for one year, and he (saw) ordered Unais Aslami (ra) to go to the other man's wife: “If she confesses, then stone her.” So she confessed, and Unais (ra) stoned her.
AI-translated by Islam-Today