Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever fasts Ramadan and stands in prayer during it out of faith and seeking reward will have his past sins forgiven, and whoever stands in prayer during Laylat al-Qadr out of faith and seeking reward will have his past sins forgiven."This is a sound hadith.

Tirmidhi 683

Hasan

حدثنا هناد حدثنا عبدة والمحاربي عن محمد بن عمرو عن أبي سلمة

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

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

الترمذي 683حسن
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Fasting
Chapter
Virtue of the month of Ramadan
Numbering
Darussalam 683
Tirmidhi 683