Muwatta Malik, Book 41, Hadith 12 (USC-MSA) ⓘ
Malik related to me from Zayd ibn Aslam that a man confessed to fornication in the time of the Messenger of Allah, may Allah bless him and grant him peace. The Messenger of Allah, may Allah bless him and grant him peace, called for a whip, and he was brought a broken whip. He said, "Above this," and he was brought a new whip whose knots had not been cut yet. He said, "Below this," and he was brought a whip which had been used and made flexible. The Messenger of Allah, may Allah bless him and grant him peace, gave the order and he was flogged. Then he said, "People! The time has come for you to observe the limits of Allah. Whoever has had any of these ugly things befall him should cover them up with the veil of Allah. Whoever reveals to us his wrong action, we perform what is in the Book of Allah against him."
حَدَّثَنِي مَالِكٌ، عَنْ زَيْدِ بْنِ أَسْلَمَ، أَنَّ رَجُلاً، اعْتَرَفَ عَلَى نَفْسِهِ بِالزِّنَا عَلَى عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَدَعَا لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم بِسَوْطٍ فَأُتِيَ بِسَوْطٍ مَكْسُورٍ فَقَالَ " فَوْقَ هَذَا " . فَأُتِيَ بِسَوْطٍ جَدِيدٍ لَمْ تُقْطَعْ ثَمَرَتُهُ فَقَالَ " دُونَ هَذَا " . فَأُتِيَ بِسَوْطٍ قَدْ رُكِبَ بِهِ وَلاَنَ فَأَمَرَ بِهِ رَسُولُ اللَّهِ صلى الله عليه وسلم فَجُلِدَ ثُمَّ قَالَ " أَيُّهَا النَّاسُ قَدْ آنَ لَكُمْ أَنْ تَنْتَهُوا عَنْ حُدُودِ اللَّهِ مَنْ أَصَابَ مِنْ هَذِهِ الْقَاذُورَاتِ شَيْئًا فَلْيَسْتَتِرْ بِسِتْرِ اللَّهِ فَإِنَّهُ مَنْ يُبْدِي لَنَا صَفْحَتَهُ نُقِمْ عَلَيْهِ كِتَابَ اللَّهِ " .
also referenced under: Book 41, Hadith 1514 (In-Book)