"The Messenger of Allah used to encourage (us) to pray Qiyam during Ramadan, without insisting on that, and he 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'
Sunan an-Nasa'i Book 22, Hadith 109