"I heard the Messenger of Allah say concerning Ramadan: 'Whoeve spends its nights 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 107