Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever fasts during Ramadan and stands in prayer through its nights out of faith and seeking reward will have his past sins forgiven, and whoever stands in prayer on Laylat al-Qadr out of faith and seeking reward will have his past sins forgiven."

Ahmad 10537

Sahih

حدثنا يزيد أخبرنا محمد عن أبي سلمة

عن أبي هريرة قال

قال رسول الله ﷺ من صام رمضان وقامه إيمانا واحتسابا غفر له ما تقدم من ذنبه ومن قام ليلة القدر إيمانا واحتسابا غفر له ما تقدم من ذنبه

أحمد 10537صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 10537
Ahmad 10537