It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Whoever fasts during Ramadan with faith and seeking reward, his previous sins are forgiven."
Hadith Referenceالسنن المأثورة / باب صيام رمضان / 157
Hadith Takhrijصحیح بخاری، ليلة القدر، باب فضل ليلة القدر، رقم: 2014؛ صحیح مسلم، صلاة المسافرين، باب الترغيب في قيام رمضان وهو التراويح، رقم: 760
It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (ﷺ) said: "Whoever stands (in prayer) during Ramadan with faith and seeking reward, his previous sins are forgiven."
Hadith Referenceالسنن المأثورة / باب صيام رمضان / 158
Hadith Takhrijصحیح بخاری، الایمان، باب تطوع قیام رمضان من الايمان، رقم: 37؛ صحیح مسلم، صلاة المسافرين، باب الترغيب في قيام رمضان وهو التراويح، رقم: 759