It was narrated from Saeed bin Al-Musayyab that 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
Hadith No. 2191
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih Lighairihi
Al-Albani:
Sahih
Zubair Ali Zai:
Sahih