[Machine] He was a prophet of Allah ﷺ. He went back and when it was the next day, he came to him again and confessed to him about adultery. The Prophet of Allah ﷺ said to him, "O Prophet of Allah, purify me." The Prophet of Allah ﷺ told him to go back and then sent to his people and asked them about him. He said, "Do you know Ma'iz ibn Malik? Do you see any harm from him or do you see anything wrong with his mind?" They said, "O Prophet of Allah, we do not see any harm from him and we do not see anything wrong with his mind." So he came to him again on the third day and said, "O Prophet of Allah, purify me, for I have committed adultery." The Prophet of Allah ﷺ then sent to his people and asked them about him as he had asked them before. They said, "O Messenger of Allah, we do not see anything wrong with his mind and we do not see any harm from him." So the Prophet of Allah ﷺ commanded that a pit be dug for him and he was buried in it up to his chest. Then the people were commanded to stone him.
لَهُ نَبِيُّ اللهِ ﷺ ارْجِعْ فَلَمَّا كَانَ مِنَ الْغَدِ أَتَاهُ أَيْضًا فَاعْتَرَفَ عِنْدَهُ بِالزِّنَا فَقَالَ يَا نَبِيَّ اللهِ طَهِّرْنِي فَقَالَ لَهُ نَبِيُّ اللهِ ﷺ ارْجِعْ ثُمَّ أَرْسَلَ إِلَى قَوْمِهِ فَسَأَلَهُمْ عَنْهُ فَقَالَ هَلْ تَعْلَمُونَ مَاعِزَ بْنَ مَالِكٍ هَلْ تَرَوْنَ بِهِ بَأْسًا أَوْ تُنْكِرُونَ مِنْ عَقْلِهِ شَيْئًا؟ قَالُوا يَا نَبِيَّ اللهِ مَا نَرَى بِهِ بَأْسًا وَلَا نُنْكِرُ مِنْ عَقْلِهِ شَيْئًا فَأَتَاهُ مِنَ الْغَدِ الثَّالِثَةَ فَقَالَ يَا نَبِيَّ اللهِ طَهِّرْنِي فَإِنِّي قَدْ زَنَيْتُ قَالَ فَأَرْسَلَ نَبِيُّ اللهِ ﷺ إِلَى قَوْمِهِ فَسَأَلَهُمْ عَنْهُ كَمَا سَأَلَهُمْ فِي الْمَرَّةِ الْأُولَى فَقَالُوا يَا رَسُولَ اللهِ مَا نُنْكِرُ مِنْ عَقْلِهِ شَيْئًا وَلَا نَرَى بِهِ بَأْسًا فَأَمَرَ نَبِيُّ اللهِ ﷺ فَحُفِرَ لَهُ حُفْرَةٌ فَجُعِلَ فِيهَا إِلَى صَدْرِهِ ثُمَّ أَمَرَ النَّاسَ أَنْ يَرْجُمُوهُ