[Machine] I was sitting with the messenger of Allah ﷺ when Al-Aslamy Ma'iz ibn Malik came and said, "O messenger of Allah, I have committed adultery and I want to be purified." The prophet ﷺ told him, "Go back." He went back and came to him for a second time, and the messenger of Allah ﷺ asked his people about him. They praised him and spoke well of his intelligence and religion. He came to the prophet ﷺ for a third time and the prophet ﷺ asked his people about him again, and they spoke well of him. He came to him for a fourth time and the prophet ﷺ asked them about him again, and they spoke similarly. The prophet ﷺ then ordered them to dig a pit for him up to his chest and then ordered him to be stoned.
كُنْتُ جَالِسًا عِنْدَ رَسُولِ اللَّهِ ﷺ فَجَاءَ الْأَسْلَمِيُّ مَاعِزُ بْنُ مَالِكٍ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي زَنَيْتُ وَإِنِّي أُرِيدُ أَنْ تُطَهِّرَنِي فَقَالَ لَهُ النَّبِيُّ ﷺ «ارْجِعْ» فَرَجَعَ حَتَّى أَتَاهُ الثَّالِثَةَ فَأَتَى رَسُولُ اللَّهِ ﷺ قَوْمَهُ فَسَأَلَهُمْ فَأَحْسَنُوا عَلَيْهِ الثَّنَاءَ فَقَالَ «كَيْفَ عَقْلُهُ؟ هَلْ بِهِ جُنُونٌ؟» قَالُوا لَا وَاللَّهِ وَأَحْسَنُوا عَلَيْهِ الثَّنَاءَ فِي عَقْلِهِ وَدِينِهِ وَأَتَاهُ الرَّابِعَةَ فَسَأَلَهُمْ عَنْهُ فَقَالُوا لَهُ مِثْلَ ذَلِكَ فَأَمَرَهُمْ فَحَفَرُوا لَهُ حُفْرَةً إِلَى صَدْرِهِ ثُمَّ رَجَمُوهُ