‘Whoever fasts Ramadan out of faith and the hope of reward will be forgiven his previous sins.”

Sunan Ibn Majah Book 7, Hadith 4