Abu Huraira reported Allah's Messenger (ﷺ) as saying:
He who observed the fasts of Ramadan with faith and seeking reward (from Allah), all his previous sins would be forgiven, and he who observed prayer on Lailat-ul- Qadr with faith and seeking reward (from Allah), all his previous sins would be forgiven.
Reference: Sahih Muslim 760 a In-book : Book 6, Hadith 209 USC-MSA web (English) : Book 4, Hadith 1664 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.