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

Sunan an-Nasa'iIt was narrated that Abu Hurairah said
Sunan an-Nasa'i · Book 22 · The Book of Fasting
Sunan an-Nasa'i · كتاب 22 · كتاب الصيام
"The Messenger of Allah said: 'Whoever fasts Ramadan out of faith and in the hope of reward, he will be forgiven his previous sins
أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏
"‏ مَنْ صَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 2204In-book reference : Book 22, Hadith 115