The Book of Fasting
22/39. Chapter:
The Reward of one who prays Qiyam in Ramadan and fasts the month out of faith and hope for reward
Sunan an-Nasai
أَخْبَرَنِي مُحَمَّدُ بْنُ إِسْمَاعِيلَ، قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مُحَمَّدِ بْنِ أَسْمَاءَ، قَالَ حَدَّثَنَا جُوَيْرِيَةُ، عَنْ مَالِكٍ، قَالَ الزُّهْرِيُّ أَخْبَرَنِي أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ، وَحُمَيْدُ بْنُ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ " .
It was narrated from Abu Hurairah that the Messenger of Allah said: "Whoever spends the night 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 2201In-book reference : Book 22, Hadith 112English translation : Vol. 3, Book 22, Hadith 2203