Sahih al-Bukhari 6815, 6816
Narrated Abu Huraira:
A man came to Allah's Messenger (ﷺ) while he was in the mosque, and he called him, saying, "O Allah's 
Apostle! I have committed illegal sexual intercourse.'" The Prophet (ﷺ) turned his face to the other side, 
but that man repeated his statement four times, and after he bore witness against himself four times, 
the Prophet (ﷺ) called him, saying, "Are you mad?" The man said, "No." The Prophet (ﷺ) said, "Are you 
married?" The man said, "Yes." Then the Prophet (ﷺ) said, 'Take him away and stone him to death." Jabir 
bin `Abdullah said: I was among the ones who participated in stoning him and we stoned him at the 
Musalla. When the stones troubled him, he fled, but we over took him at Al-Harra and stoned him to 
death.
حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، عَنْ أَبِي سَلَمَةَ، وَسَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ أَتَى رَجُلٌ رَسُولَ اللَّهِ صلى الله عليه وسلم وَهْوَ فِي الْمَسْجِدِ فَنَادَاهُ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي زَنَيْتُ‏.‏ فَأَعْرَضَ عَنْهُ، حَتَّى رَدَّدَ عَلَيْهِ أَرْبَعَ مَرَّاتٍ، فَلَمَّا شَهِدَ عَلَى نَفْسِهِ أَرْبَعَ شَهَادَاتٍ، دَعَاهُ النَّبِيُّ صلى الله عليه وسلم فَقَالَ ‏"‏ أَبِكَ جُنُونٌ ‏"‏‏.‏ قَالَ لاَ‏.‏ قَالَ ‏"‏ فَهَلْ أَحْصَنْتَ ‏"‏‏.‏ قَالَ نَعَمْ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ اذْهَبُوا بِهِ فَارْجُمُوهُ ‏"‏‏.‏   قَالَ ابْنُ شِهَابٍ فَأَخْبَرَنِي مَنْ، سَمِعَ جَابِرَ بْنَ عَبْدِ اللَّهِ، قَالَ فَكُنْتُ فِيمَنْ رَجَمَهُ فَرَجَمْنَاهُ بِالْمُصَلَّى، فَلَمَّا أَذْلَقَتْهُ الْحِجَارَةُ هَرَبَ، فَأَدْرَكْنَاهُ بِالْحَرَّةِ فَرَجَمْنَاهُ‏.‏