From Sahih Bukhari (Hadith 35):
Narrated Abu Huraira: Allah's Messenger (ﷺ) said, "Whoever establishes the prayers on the night of Qadr out of sincere faith and hoping to attain Allah's rewards (not to show off) then all his past sins will be forgiven
Reference: Bukhari 35