The Messenger of Allah (ﷺ) said: "Whoever stands (in the voluntary night prayer of) Ramadan out of faith and in the hope of reward, his previous sins will be forgiven. And whoever spends the night of Lailat Al-Qadr in prayer out of faith and in the hope of reward, his previous sins will be forgiven."
Reference: Sunan an-Nasa'i 5027 In-book : Book 47, Hadith 43 English translation : Vol. 6, Book 47, Hadith 5030
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.