Sayyiduna Khuzaymah bin Thabit (may Allah be pleased with him) said that the Prophet (peace and blessings be upon him) said: "Whoever commits a sin in this world and also receives its punishment, that will be an expiation for him."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17594