Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:760bMuḥammad b. Rāfiʿ > Shabābah > And Rqāʾ > Abū al-Zinād > al-Aʿraj > Abū Hurayrah

He who prayed on the Lailat-ul-Qadr (the Majestic Night) knowing that it is (the same night). I (believe) that he (the Prophet also) said: (He who does) it with faith and seeking reward (from Allah), his sins would be forgiven.  

مسلم:٧٦٠bحَدَّثَنِي مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا شَبَابَةُ حَدَّثَنِي وَرْقَاءُ عَنْ أَبِي الزِّنَادِ عَنِ الأَعْرَجِ عَنْ أَبِي هُرَيْرَةَ

عَنِ النَّبِيِّ ﷺ قَالَ مَنْ يَقُمْ لَيْلَةَ الْقَدْرِ فَيُوَافِقُهَا أُرَاهُ قَالَ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ  


See similar narrations below:

Collected by Bukhārī, Nasāʾī's Kubrá, Suyūṭī
bukhari:35Abū al-Yamān > Shuʿayb > Abū al-Zinād > al-Aʿraj > Abū Hurayrah

Messenger of Allah ﷺ 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."  

البخاري:٣٥حَدَّثَنَا أَبُو الْيَمَانِ قَالَ أَخْبَرَنَا شُعَيْبٌ قَالَ حَدَّثَنَا أَبُو الزِّنَادِ عَنِ الأَعْرَجِ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مَنْ يَقُمْ لَيْلَةَ الْقَدْرِ إِيمَانًا وَاحْتِسَابًا غُفِرَ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ  

nasai-kubra:3398Muḥammad b. ʿAlī > Abū al-Yamān > Shuʿayb > Abū al-Zinād > al-Aʿraj > Abū Hurayrah

Messenger of Allah ﷺ 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." (Using translation from Bukhārī 35)  

الكبرى للنسائي:٣٣٩٨أَخْبَرَنَا مُحَمَّدُ بْنُ عَلِيٍّ قَالَ حَدَّثَنَا أَبُو الْيَمَانِ قَالَ أَخْبَرَنَا شُعَيْبٌ قَالَ حَدَّثَنَا أَبُو الزِّنَادِ عَنِ الْأَعْرَجِ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللهِ ﷺ «مَنْ يَقُمْ لَيْلَةَ الْقَدْرِ إِيمَانًا وَاحْتِسَابًا يَغْفِرُ لَهُ مَا تَقَدَّمَ مِنْ ذَنْبِهِ»