«من صام رمضان إيمانا واحتسابا غفر له ما تقدم من ذنبه [وما تأخر] »
The Prophet (peace and blessings be upon him) said:
"Whoever fasts Ramadan out of faith and seeking reward (with the intention of earning reward), all his past and future sins are forgiven."
Hadith Referenceصحیح الجامع الصغیر / حرف الميم / 6325