Maez bin Malik came to the Prophet ﷺ and confessed to fornication twice, so the Prophet drove him away. He came again and confessed to fornication twice more.The Prophet said, "You have testified against yourself four times. Take him away and stone him."
حدثنا نصر بن علي أخبرنا أبو أحمد أخبرنا إسرائيل عن سماك بن حرب عن سعيد بن جبير
جاء ماعز بن مالك إلى النبي ﷺ فاعترف بالزنا مرتين فطرده ثم جاء فاعترف بالزنا مرتين فقال شهدت على نفسك أربع مرات اذهبوا به فارجموه
No references are available.
[Its chain of transmission is sahih] Ahmad narrated it: 1/314, from the hadith of Israil, by this route.