A man of the tribe of Asalam came to the Messenger of Allah ﷺ and made confession of fornication. He (the prophet) turned away from him. When he testified against him four times, the Prophet ﷺ said: Are you mad? He said: No. he asked: Are you married? He replied: Yes. The Prophet ﷺ then commanded regarding him and he was stoned in the place of prayer. Then when the stones hurt him, he fled, but was overtaken and stoned to death. The Prophet ﷺ then spoke well of him and did not pray over him. (Using translation from Abū Dāʾūd 4430)
أَنَّ رَجُلًا مِنْ أَسْلَمَ جَاءَ إِلَى النَّبِيِّ ﷺ فَاعْتَرَفَ بِالزِّنَا فَأَعْرَضَ عَنْهُ ثُمَّ اعْتَرَفَ فَأَعْرَضَ عَنْهُ حَتَّى شَهِدَ عَلَى نَفْسِهِ أَرْبَعَ مَرَّاتٍ فَقَالَ لَهُ النَّبِيُّ ﷺ أَبِكَ جُنُونٌ؟ قَالَ لَا قَالَ أَحْصَنْتَ قَالَ نَعَمْ فَأَمَرَ بِهِ النَّبِيُّ ﷺ فَرُجِمَ بِالْمُصَلَّى فَلَمَّا أَذْلَقَتْهُ الْحِجَارَةُ فَرَّ فَأُدْرِكَ فَرُجِمَ حَتَّى مَاتَ فَقَالَ لَهُ رَسُولُ اللهِ ﷺ خَيْرًا وَلَمْ يُصَلِّ عَلَيْهِ