[Machine] I was sitting with the Messenger of Allah ﷺ , when Al-Aslamy Ma'iz ibn Malik came to him and said, "O Messenger of Allah, I have committed adultery and I want you to purify me." The Prophet told him, "Go back." He returned and came to him a second time, and the Prophet told him, "Go back." He returned again and came to him a third time. Then the Messenger of Allah ﷺ asked his people about him, and they spoke well of him and praised his intelligence, saying, "Is he insane?" They replied, "No, by Allah, O Messenger of Allah. He is sound." They praised him for his intelligence and religion. He came to the Prophet for the fourth time, and the Prophet asked them about him again, and they replied with the same response. So the Prophet commanded them, "Dig a hole for him up to his chest, then stone him."
كُنْتُ جَالِسًا عِنْدَ رَسُولِ اللهِ ﷺ فَجَاءَهُ الْأَسْلَمِيُّ مَاعِزُ بْنُ مَالِكٍ فَقَالَ يَا رَسُولَ اللهِ إِنِّي زَنَيْتُ وَإِنِّي أُرِيدُ أَنْ تُطَهِّرَنِي فَقَالَ لَهُ «ارْجِعْ» فَرَجَعَ ثُمَّ أَتَاهُ الثَّانِيَةَ فَقَالَ «ارْجِعْ» فَرَجَعَ فَأَتَاهُ الثَّالِثَةَ فَأَتَى رَسُولُ اللهِ ﷺ قَوْمَهُ فَسَأَلَهُمْ فَأَحْسَنُوا عَلَيْهِ الثَّنَاءَ قَالَ «كَيْفَ عَقْلُهُ؟ هَلْ بِهِ جُنُونٌ؟» فَقَالُوا لَا وَاللهِ يَا رَسُولَ اللهِ إِنَّهُ لَصَحِيحٌ فَأَحْسَنُوا عَلَيْهِ الثَّنَاءَ فِي عَقْلِهِ وَدِينِهِ فَأَتَاهُ الرَّابِعَةَ فَسَأَلَهُمْ عَنْهُ فَقَالُوا مِثْلَ ذَلِكَ فَأَمَرَهُمْ «فَحَفَرُوا لَهُ حُفْرَةً إِلَى صَدْرِهِ ثُمَّ رَجَمُوهُ»