The son of Sayyiduna Khuzaymah bin Thabit Ansari narrates this statement from his father: The Noble Prophet (peace and blessings be upon him) said: "Whoever commits a crime deserving of a prescribed punishment (hadd), and the hadd is carried out upon him, then it will be an expiation for his sin."
Hadith Referenceسنن الدارقطني / كتاب الحدود والديات وغيره / 3503
Hadith Takhrij«أخرجه الحاكم فى ((مستدركه)) برقم: 8259، والدارمي فى ((مسنده)) برقم: 2376، والبيهقي فى((سننه الكبير)) برقم: 17672، والدارقطني فى ((سننه)) برقم: 3503، 3504، 3505، وأحمد فى ((مسنده)) برقم: 22283، 22293، والطبراني فى((الكبير)) برقم: 3728، 3731، 3732»