Sunan an-Nasa'i #2192 · The Book of Fasting

Sunan an-Nasa'iUrwah bin Az-Zubair narrated that Aishah told him that
Sunan an-Nasa'i · Book 22 · The Book of Fasting
Sunan an-Nasa'i · كتاب 22 · كتاب الصيام
the Messenger of Allah used to encourage the people to pray Qiyam in Ramadan, without insisting on that. He said: "Whoever spends the nights of Ramadan in prayer out of faith and in the hope of reward, he will be forgiven his previous sins
أَخْبَرَنَا مُحَمَّدُ بْنُ جَبَلَةَ، قَالَ حَدَّثَنَا الْمُعَافَى، قَالَ حَدَّثَنَا مُوسَى، عَنْ إِسْحَاقَ بْنِ رَاشِدٍ، عَنِ الزُّهْرِيِّ، قَالَ أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ، أَنَّ عَائِشَةَ، زَوْجَ النَّبِيِّ صلى الله عليه وسلم أَخْبَرَتْهُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم كَانَ يُرَغِّبُ النَّاسَ فِي قِيَامِ رَمَضَانَ مِنْ غَيْرِ أَنْ يَأْمُرَهُمْ بِعَزِيمَةِ أَمْرٍ فِيهِ فَيَقُولُ ‏
"‏ مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 2192In-book reference : Book 22, Hadith 103