Sunan an-Nasa'i #1602 · The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day

Sunan an-Nasa'iIt was narrated from Abu Hurairah that
Sunan an-Nasa'i · Book 20 · The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day
Sunan an-Nasa'i · كتاب 20 · كتاب قيام الليل وتطوع النهار
The Messenger of Allah (ﷺ) said: "Whoever prays Qiyam during Ramadan out of faith and in the hope of reward, he will be forgiven his previous sins
أَخْبَرَنَا قُتَيْبَةُ، عَنْ مَالِكٍ، عَنِ ابْنِ شِهَابٍ، عَنْ حُمَيْدِ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏
"‏ مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 1602In-book reference : Book 20, Hadith 5