Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever stands in prayer during Ramadan out of faith and seeking reward will have his past sins forgiven."

Muslim 1779

Sahih

حدثنا يحيى بن يحيى قال قرأت على مالك عن ابن شهاب عن حميد بن عبد الرحمن

عن أبي هريرة

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

مسلم 1779صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Encouragement to observe the night prayer of Ramadan, which is tarawih
Numbering
Darussalam 1779
Muslim 1779