Hadith 9289

وَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " مَنْ قَامَ لَيْلَةَ الْقَدْرِ إِيمَانًا وَاحْتِسَابًا ، فَإِنَّهُ يُغْفَرُ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ " . قَالَ عَفَّانُ : وَحَدَّثَنَا أَبَانُ فِي هَذَا الْإِسْنَادِ بِمِثْلِهِ .
And the Noble Prophet (peace and blessings be upon him) said: Whoever stands (in prayer) during the Night of Qadr with faith and seeking reward, all his past sins will be forgiven.
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 9289
Hadith Grading حکم دارالسلام: إسنادہ صحیح ، خ : 35 ، م : 760