USC-MSA web (English) : Book 41, Hadith 4
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنِي مَالِكٌ، عَنِ ابْنِ شِهَابٍ، أَنَّهُ أَخْبَرَهُ . أَنَّ رَجُلاً اعْتَرَفَ عَلَى نَفْسِهِ بِالزِّنَا عَلَى عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم وَشَهِدَ عَلَى نَفْسِهِ أَرْبَعَ مَرَّاتٍ فَأَمَرَ بِهِ رَسُولُ اللَّهِ صلى الله عليه وسلم فَرُجِمَ . قَالَ ابْنُ شِهَابٍ فَمِنْ أَجْلِ ذَلِكَ يُؤْخَذُ الرَّجُلُ بِاعْتِرَافِهِ عَلَى نَفْسِهِ
Malik related to me that Ibn Shihab informed him that a man confessed that he had committed adultery in the time of the Messenger of Allah (ﷺ) and he testified against himself four times, so the Messenger of Allah (ﷺ) gave the order and he was stoned. Ibn Shihab said, "Because of this a man is to be taken for his own confession against himself."
Full reference and source
USC-MSA web (English) : Book 41, Hadith 4 Arabic : Book 41, Hadith 1506
View source on Sunnah.com (opens in a new tab)