It is narrated from Sayyiduna Abu Hurairah (may Allah be pleased with him) that the Messenger of Allah (ﷺ) said: "Whoever stands (in prayer) during the Night of Qadr with faith and seeking reward, his previous sins will be forgiven."
Hadith Referenceالسنن المأثورة / باب صيام من أصبح جنبا / 321
Hadith Takhrijصحیح بخاری، فضل ليلة القدر ، باب فضل ليلة القدر، رقم : 2104 ، صحیح مسلم، المساجد ومواضع الصلاة، باب الترغيب فى قيام رمضان وهو التراويح، رقم : 760