Sunan An-Nasa'i - سنن النسائي
22. The Book of Fasting - كتاب الصيام
39) Chapter: The Reward of one who prays Qiyam in Ramadan and fasts the month out of faith and hope for reward
It was narrated from Ibn Shahab that Abu Salamah told him that Abu Hurairah said:
"The Messenger of Allah 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." '
39) باب ثَوَابِ مَنْ قَامَ رَمَضَانَ وَصَامَهُ إِيمَانًا وَاحْتِسَابًا وَالاِخْتِلاَفِ عَلَى الزُّهْرِيِّ فِي الْخَبَرِ فِي ذَلِكَ
أَخْبَرَنَا أَبُو دَاوُدَ، قَالَ حَدَّثَنَا يَعْقُوبُ بْنُ إِبْرَاهِيمَ، قَالَ حَدَّثَنَا أَبِي، عَنْ صَالِحٍ، عَنِ ابْنِ شِهَابٍ، أَنَّ أَبَا سَلَمَةَ، أَخْبَرَهُ أَنَّ أَبَا هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم . " مَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ "