Ayesha reported,

The Messenger of Allah ﷺ used to encourage people to stand in prayer during Ramadan, without commanding them to do so as a binding obligation. He would say, "Whoever stands in prayer during Ramadan out of faith and seeking reward, his previous sins will be forgiven."

Nasai 2194

Sahih

أخبرنا محمد بن جبلة قال حدثنا المعافى قال حدثنا موسى عن إسحق بن راشد عن الزهري قال أخبرني عروة بن الزبير أن

عائشة زوج النبي ﷺ أخبرته

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

النسائي 2194صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Fasting
Chapter
Reward for whoever observed Ramadan in prayer and fasted it out of faith and seeking reward, and the difference of opinion regarding Zuhri concerning the report about that
Numbering
Darussalam 2194
Nasai 2194