Sunan an-Nasa'i, Book 47, Hadith 41 (Nasa'i 5034)

It was narrated from Abu Hurairah that :

The Prophet said: "Whoever stands (in the voluntary night prayer of) Ramadan out of faith and in hope of reward, his previous sins will be forgiven."