Mishkat al-Masabih 3560
Abu Huraira told of a man who came to the Prophet when he was in the mosque and called to him, “Messenger of God, I have committed fornication ” The Prophet turned away from him, so the man came round facing him and said, “I have committed fornication,” but the Prophet turned away. Then when he had testified four times the Prophet called him and said, “Are you mad?” When he replied that he was not he asked him if he was married, and when he replied that he was, God’s Messenger said, “Take him away and stone him to death.” Ibn Shihab said:
I was informed by one who heard Jabir b. ‘Abdallah say, “Then we stoned him in Medina, but when the stones hurt him he ran away, and we caught up on him in the harra and stoned him to death.” In aversion by Bukhari on Jabir’s authority, after “he replied that he was” it says that he gave command 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 prayed over him.

(Bukhari and Muslim.)
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: أَتَى النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ رَجُلٌ وَهُوَ فِي الْمَسْجِدِ فَنَادَاهُ: يَا رَسُولَ اللَّهِ إِنِّي زَنَيْتُ فَأَعْرَضَ عَنْهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَتَنَحَّى لِشِقِّ وَجْهِهِ الَّذِي أَعْرَضَ قِبَلَهُ فَقَالَ: إِنِّي زَنَيْتُ فَأَعْرَضَ عَنْهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَلَمَّا شَهِدَ أَرْبَعَ شَهَادَاتٍ دَعَاهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَقَالَ: «أَبِكَ جُنُونٌ؟» قَالَ: لَا فَقَالَ: «أُحْصِنْتَ؟» قَالَ: نَعَمْ يَا رَسُولَ اللَّهِ قَالَ: «اذْهَبُوا بِهِ فَارْجُمُوهُ» قَالَ ابْنُ شِهَابٍ: فَأَخْبَرَنِي مَنْ سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ يَقُولُ: فَرَجَمْنَاهُ بِالْمَدِينَةِ فَلَمَّا أَذْلَقَتْهُ الْحِجَارَةُ هَرَبَ حَتَّى أَدْرَكْنَاهُ بِالْحَرَّةِ فرجمناه حَتَّى مَاتَ
وَفِي رِوَايَةٍ لِلْبُخَارِيِّ: عَنْ جَابِرٍ بَعْدَ قَوْلِهِ: قَالَ: نَعَمْ فَأَمَرَ بِهِ فَرُجِمَ بِالْمُصَلَّى فَلَمَّا أَذْلَقَتْهُ الْحِجَارَةُ فَرَّ فَأُدْرِكَ فَرُجِمَ حَتَّى مَاتَ. فَقَالَ لَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ خيرا وَصلى عَلَيْهِ