It wasnarrated that Abu Hurairah said:
"The Messenger of Allah (ﷺ)said: 'Whoever fasts Ramadan and spends its nights in prayer, outoffaith and in hope of reward, his previous sins will be forgiven.'"
English reference: Vol. 1, Book 5, Hadith 1326
Arabic reference: Book 5, Hadith 1387
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.