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

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