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.
Hadith Referenceمشكوة المصابيح / كتاب الحدود / 3628
Hadith Gradingالألبانی:لم تتمّ دراسته | زبیر علی زئی:حسن
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «حسن، رواه البغوي في شرح السنة (311/10 ح 2594) [و أحمد (214/5. 215) ] ٭ و له شاھد في الصحيح: ’’فمن أصاب من ذلک شيئًا فعوقب في الدنيا فھو کفارة له‘‘ فالحديث حسن .»