Abu Hurairah reported,

The Messenger of Allah ﷺ used to encourage standing in prayer during Ramadan without making it a strict obligation. He would say, "Whoever stands in prayer during Ramadan out of faith and seeking reward will have his past sins forgiven."Ibn Shihab said, The Messenger of Allah ﷺ passed away while the matter remained as such, and it continued in the same manner during the caliphate of Abu Bakr and the early part of the caliphate of Umar.

Azami 4637

Sahih

عن أبي هريرة

أن رسول الله ﷺ كان يرغب في قيام رمضان من غير أن يأمر بعزيمة، فيقول: من قام رمضان إيمانا واحتسابا غفر له ما تقدم من ذنبه. قال ابن شهاب: فتوفي رسول الله ﷺ، والأمر على ذلك ثم كان الأمر على ذلك في خلافة أبي بكر، وصدرا من خلافة عمر.

الأعظمي 4637صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Fasting
Chapter
Night prayer in Ramadan
Section
Encouragement to pray at night during Ramadan without making it obligatory
Numbering
Jami al-Kamil 4637 (2nd edition)
Azami 4637