[Machine] Ma'iz bin Malik came to the Prophet ﷺ and said, "O Messenger of Allah, establish the punishment prescribed by Allah upon me." He turned him away four times. Then the Prophet ﷺ commanded that he be stoned. When the stones hit him, he tried to escape but was caught by Abdullah bin Unais from his tribe who struck him with a stick and killed him. Abdullah then came to the Prophet ﷺ and informed him of the incident. The Prophet ﷺ said, "Why did you not leave him? Perhaps he would repent, and then Allah would accept his repentance." Then he said, "O Hzal (the nickname of Abdullah), it would have been better for you if you had covered him with your garment."
أَنَّ مَاعِزَ بْنَ مَالِكٍ أَتَى النَّبِيَّ ﷺ فَقَالَ أَقِمْ عَلَيَّ كِتَابَ اللهِ فَأَعْرَضَ عَنْهُ أَرْبَعَ مِرَارٍ ثُمَّ أَمَرَ النَّبِيُّ ﷺ بِرَجْمِهِ فَلَمَّا مَسَّتْهُ الْحِجَارَةُ خَرَجَ يَشْتَدُّ وَخَرَجَ عَبْدُ اللهِ بْنُ أُنَيْسٍ مِنْ نَادِي قَوْمِهِ بِوَظِيفِ حِمَارٍ فَضَرَبَهُ فَصَرَعَهُ فَأَتَى النَّبِيَّ ﷺ فَحَدَّثَهُ بِأَمْرِهِ فَقَالَ «أَلَا تَرَكْتُمُوهُ لَعَلَّهُ يَتُوبُ فَيَتُوبَ اللهُ عَلَيْهِ» ثُمَّ قَالَ «يَا هَزَّالُ لَوْ سَتَرْتَهُ بِثَوْبِكَ كَانَ خَيْرًا لَكَ»