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.
bayhaqi:8528Abū ʿAbdullāh al-Ḥāfiẓ And ʾAbū Zakariyyā b. Abū Isḥāq al-Muzakkī Waʾabū Bakr b. al-Ḥasan al-Qāḍī > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Baḥr b. Naṣr > Quriʾ > ʿAbdullāh b. Wahb Akhbarak Yūnus b. Yazīd > Ibn Shihāb > Abū Salamah b. ʿAbd al-Raḥman > Abū Hurayrah

[Machine] "That the Messenger of Allah ﷺ said, 'I was shown the Night of Qadr (Decree), then someone from my family woke me up and I forgot it, so seek it in the last ten nights of Ramadan.'"  

البيهقي:٨٥٢٨أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ وَأَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ الْمُزَكِّي وَأَبُو بَكْرِ بْنُ الْحَسَنِ الْقَاضِي قَالُوا ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا بَحْرُ بْنُ نَصْرٍ قَالَ قُرِئَ عَلَى عَبْدِ اللهِ بْنِ وَهْبٍ أَخْبَرَكَ يُونُسُ بْنُ يَزِيدَ عَنِ ابْنِ شِهَابٍ عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ عَنْ أَبِي هُرَيْرَةَ

أَنَّ رَسُولَ اللهِ ﷺ قَالَ أُرِيتُ لَيْلَةَ الْقَدْرِ ثُمَّ أَيْقَظَنِي بَعْضُ أَهْلِي فَنَسِيتُهَا فَالْتَمِسُوهَا فِي الْعَشْرِ الْغَوَابِرِ  

رَوَاهُ مُسْلِمٌ عَنْ أَبِي الطَّاهِرِ وَحَرْمَلَةَ عَنِ ابْنِ وَهْبٍ وَرُوِّينَا فِي ذَلِكَ عَنْ جَبَلَةَ بْنِ سُحَيْمٍ وَمُحَارِبِ بْنِ دِثَارٍ عَنِ ابْنِ عُمَرَ

See similar narrations below:

Collected by Muslim
muslim:1166Abū al-Ṭāhir And Ḥarmalah b. Yaḥyá > Ibn Wahb > Yūnus > Ibn Shihāb > Abū Salamah b. ʿAbd al-Raḥman > Abū Hurayrah Annālllah ﷺ

I was shown Lailat-ul-Qadr; then some members of my family awoke me up, then I was caused to forget it. So seek it in the last week. Harmala said: (The Prophet did not say:" I was made to forget," but he stated):" But I forgot it."  

مسلم:١١٦٦حَدَّثَنَا أَبُو الطَّاهِرِ وَحَرْمَلَةُ بْنُ يَحْيَى قَالاَ أَخْبَرَنَا ابْنُ وَهْبٍ أَخْبَرَنِي يُونُسُ عَنِ ابْنِ شِهَابٍ عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ

عَنْ أَبِي هُرَيْرَةَ ؓ أَنَّاللَّهِ ﷺ قَالَ أُرِيتُ لَيْلَةَ الْقَدْرِ ثُمَّ أَيْقَظَنِي بَعْضُ أَهْلِي فَنُسِّيتُهَا فَالْتَمِسُوهَا فِي الْعَشْرِ الْغَوَابِرِ وَقَالَ حَرْمَلَةُ فَنَسِيتُهَا