Mishkat al-Masabih #3475
Prescribed Punishments
The Arabic includes the chain of narration (sanad) and the collector's commentary; the English translation shows the Prophet's words only.
وَعَنْ خُزَيْمَةَ بْنِ ثَابِتٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ أَصَابَ ذَنْبًا أُقِيمَ عَلَيْهِ حَدُّ ذَلِكَ الذَّنْبِ فَهُوَ كفارتُه» رَوَاهُ فِي شرح السّنة
Khuzaima b. Thabit reported God's Messenger as saying, “If anyone commits a sin and has inflicted on him the prescribed punishment for that sin, it is an atonement for him.”
It is transmitted in Sharh as-sunna.
Topics
About Mishkat al-Masabih
This hadith is #3475 from Mishkat al-Masabih, in the Book of Prescribed Punishments.