The Messenger of Allah (ﷺ) said: "Whoever prays Qiyam during Ramadan out of faith and in the hope of reward, he will be forgiven his previous sins."
Sunan an-Nasa'i Book 20, Hadith 6