Hadith 1603

It was narrated from Abu Hurairah that: The Messenger of Allah (SAW) said: "Whoever prays Qiyam during Ramadan out of faith and in the hope of reward, he will be forgiven his previous sins."

أَخْبَرَنَا مُحَمَّدُ بْنُ إِسْمَاعِيلَ أَبُو بَكْرٍ، قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ أَسْمَاءَ، قَالَ حَدَّثَنَا جُوَيْرِيَةُ، عَنْ مَالِكٍ، قَالَ قَالَ الزُّهْرِيُّ أَخْبَرَنِي أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ، وَحُمَيْدُ بْنُ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ‏"‏ ‏.‏

Reference: 1116110
In-book reference: Book 20, Hadith 1603
Hadith 1603 - The Book of Qiyam Al-Lail (The Night Prayer) and Voluntary Prayers During the Day - Sunan an-Nasa'i - Sunnah.com