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.
أَنَّ رَجُلاً مِنْ أَسْلَمَ جَاءَ إِلَى رَسُولِ اللَّهِ ﷺ فَاعْتَرَفَ بِالزِّنَا فَأَعْرَضَ عَنْهُ ثُمَّ اعْتَرَفَ فَأَعْرَضَ عَنْهُ حَتَّى شَهِدَ عَلَى نَفْسِهِ أَرْبَعَ شَهَادَاتٍ فَقَالَ لَهُ النَّبِيُّ ﷺ أَبِكَ جُنُونٌ قَالَ لاَ قَالَ أَحْصَنْتَ قَالَ نَعَمْ قَالَ فَأَمَرَ بِهِ النَّبِيُّ ﷺ فَرُجِمَ فِي الْمُصَلَّى فَلَمَّا أَذْلَقَتْهُ الْحِجَارَةُ فَرَّ فَأُدْرِكَ فَرُجِمَ حَتَّى مَاتَ فَقَالَ لَهُ النَّبِيُّ ﷺ خَيْرًا وَلَمْ يُصَلِّ عَلَيْهِ