[Machine] Abu Huraira and Zaid ibn Khalid narrated that a man from the Bedouins came to the Messenger of Allah ﷺ and said, "O Messenger of Allah, I swear by Allah, except if Allah decides otherwise, then I will definitely be judged according to the Book of Allah." Another man, who was more knowledgeable than him, said, "Yes, judge between us according to the Book of Allah and give me permission." The Messenger of Allah ﷺ said, "Say what you have to say." He said, "My son was a shepherd and he committed adultery with his wife. I was informed that stoning was required for my son, so I ransomed him with one hundred sheep and a slave-girl. I asked the people of knowledge and they informed me that my son should be lashed one hundred times and exiled for one year, and that his wife should be stoned." The Messenger of Allah ﷺ said, "By the One in Whose Hand is my soul, I will judge between you according to the Book of Allah. The slave-girl and the sheep shall be returned to you, and your son shall be lashed one hundred times and exiled for one year. Go, O Unais, and deal with the matter of this woman, and if she confesses, then stone her." So, the next day she confessed and the Messenger of Allah ﷺ ordered that she be stoned.
عَنْ أَبِي هُرَيْرَةَ وَزَيْدِ بْنِ خَالِدٍ أَنَّهُمَا قَالَا إِنَّ رَجُلًا مِنَ الْأَعْرَابِ أَتَى رَسُولَ اللهِ ﷺ فَقَالَ يَا رَسُولَ اللهِ أَنْشُدُكَ اللهَ إِلَّا قَضَيْتَ فِيَّ بكِتَابِ اللهِ فَقَالَ الْآخَرُ وَهُوَ أَفْقَهُ مِنْهُ نَعَمْ فَاقْضِ بَيْنَنَا بِكِتَابِ اللهِ وَأْذَنْ لِي فَقَالَ رَسُولُ اللهِ ﷺ قُلْ قَالَ إِنَّ ابْنِي كَانَ عَسِيفًا عَلَى هَذَا فَزَنَى بِامْرَأَتِهِ وَإِنِّي أُخْبِرْتُ أَنَّ عَلَى ابْنِي الرَّجْمَ فَافْتَدَيْتُ مِنْهُ بِمِائَةِ شَاةٍ وَوَلِيدَةٍ وَسَأَلْتُ أَهْلَ الْعِلْمِ فَأَخْبَرُونِي أَنَّ عَلَى ابْنِي جَلْدَ مِائَةٍ وَتَغْرِيبَ عَامٍ وَأَنَّ عَلَى امْرَأَتِهِ الرَّجْمَ فَقَالَ رَسُولُ اللهِ ﷺ وَالَّذِي نَفْسِي بِيَدِهِ لَأَقْضِيَنَّ بَيْنَكُمَا بِكِتَابِ اللهِ الْوَلِيدَةُ وَالْغَنَمُ رَدٌّ عَلَيْكَ وَعَلَى ابْنِكَ جَلْدُ مِائَةٍ وَتَغْرِيبُ عَامٍ اغْدُ يَا أُنَيْسُ عَلَى امْرَأَةِ هَذَا فَإِنِ اعْتَرَفَتْ فَارْجُمْهَا قَالَ فَغَدَا عَلَيْهَا فَاعْتَرَفَتْ فَأَمَرَ بِهَا رَسُولُ اللهِ ﷺ فَرُجِمَتْ