Mishkat al-Masabih #1868
Fasting
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 in prayer with faith and seeking his reward from God will have his past sins forgiven."
(Bukhari and Muslim.)
Topics
About Mishkat al-Masabih
This hadith is #1868 from Mishkat al-Masabih, in the Book of Fasting. Mishkat al-Masabih contains 4,428 hadiths across 25 books.