كتاب الصوم
7  
Fasting
(1a)
Chapter: Section 1
الفصل الأول
Mishkat al-Masabih 1958
Abu Huraira reported God's messenger as saying, "He who fasts during Ramadan with faith and seeking his reward from God will have his past sins forgiven; he who prays during the night in Ramadan with faith and seeking his reward from God will have his past sins forgiven; and he who passes Lailat al-qadr [Night of Decree] in prayer with faith and seeking his reward from God will have his past sins forgiven." (Bukhari and Muslim.)
وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنْ صَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ. وَمَنْ قَامَ رَمَضَانَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ. وَمَنْ قَامَ لَيْلَةَ الْقَدْرِ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ»
  مُتَّفَقٌ عَلَيْهِ   (الألباني) حكم   :
Reference : Mishkat al-Masabih 1958
In-book reference : Book 7, Hadith 3