Sunan an-Nasa'i, Book 47, Hadith 42 (Nasa'i 5035)

It was narrated from Abu Hurairah that:

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