Sahih al-Bukhari, Volume 8, Book 82, Hadith 814 (USC-MSA)

Narrated Abu Huraira: A man from among the people, came to Allah's Messenger while Allah's Messenger was sitting in the mosque, and addressed him, saying, "O Allah's Messenger! I have committed an illegal sexual intercourse." The Prophet turned his face away from him. The man came to that side to which the Prophet had turned his face, and said, "O Allah's Messenger! I have committed an illegal intercourse." The Prophet turned his face to the other side, and the man came to that side, and when he confessed four times, the Prophet called him and said, "Are you mad?" He said, "No, O Allah's Messenger!" The Prophet said, "Are you married?" He said, "Yes, O Allah's Messenger." The Prophet said (to the people), "Take him away and stone him to death." Ibn Shihab added, "I was told by one who heard Jabir, that Jabir said, 'I was among those who stoned the man, and we stoned him at the Musalla (`Id praying Place), and when the stones troubled him, he jumped quickly and ran away, but we overtook him at Al-Harra and stoned him to death (there).' "

حَدَّثَنَا سَعِيدُ بْنُ عُفَيْرٍ، قَالَ حَدَّثَنِي اللَّيْثُ، حَدَّثَنِي عَبْدُ الرَّحْمَنِ بْنُ خَالِدٍ، عَنِ ابْنِ شِهَابٍ، عَنِ ابْنِ الْمُسَيَّبِ، وَأَبِي، سَلَمَةَ أَنَّ أَبَا هُرَيْرَةَ، قَالَ أَتَى رَسُولَ اللَّهِ صلى الله عليه وسلم رَجُلٌ مِنَ النَّاسِ وَهْوَ فِي الْمَسْجِدِ فَنَادَاهُ يَا رَسُولَ اللَّهِ إِنِّي زَنَيْتُ‏.‏ يُرِيدُ نَفْسَهُ، فَأَعْرَضَ عَنْهُ النَّبِيُّ صلى الله عليه وسلم فَتَنَحَّى لِشِقِّ وَجْهِهِ الَّذِي أَعْرَضَ قِبَلَهُ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي زَنَيْتُ‏.‏ فَأَعْرَضَ عَنْهُ، فَجَاءَ لِشِقِّ وَجْهِ النَّبِيِّ صلى الله عليه وسلم الَّذِي أَعْرَضَ عَنْهُ، فَلَمَّا شَهِدَ عَلَى نَفْسِهِ أَرْبَعَ شَهَادَاتٍ دَعَاهُ النَّبِيُّ صلى الله عليه وسلم فَقَالَ ‏"‏ أَبِكَ جُنُونٌ ‏"‏‏.‏ قَالَ لاَ يَا رَسُولَ اللَّهِ‏.‏ فَقَالَ ‏"‏ أَحْصَنْتَ ‏"‏‏.‏ قَالَ نَعَمْ يَا رَسُولَ اللَّهِ‏.‏ قَالَ ‏"‏ اذْهَبُوا فَارْجُمُوهُ ‏"‏‏.‏ قَالَ ابْنُ شِهَابٍ أَخْبَرَنِي مَنْ، سَمِعَ جَابِرًا، قَالَ فَكُنْتُ فِيمَنْ رَجَمَهُ، فَرَجَمْنَاهُ بِالْمُصَلَّى، فَلَمَّا أَذْلَقَتْهُ الْحِجَارَةُ جَمَزَ حَتَّى أَدْرَكْنَاهُ بِالْحَرَّةِ فَرَجَمْنَاهُ‏.‏

sunnah.com