It was narrated from Ibn Shahab that Abu Salamah told him that Abu Hurairah said:
"The Messenger of Allah said: 'Whoever spends the nights of Ramadan in prayer (Qiyam) out of faith and in the hope of reward, he will be forgiven his previous sins." '
Reference: Sunan an-Nasa'i 2197 In-book : Book 22, Hadith 108 English translation : Vol. 3, Book 22, Hadith 2199
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.