(40) باب فَضْلِ لَيْلَةِ الْقَدْرِ وَالْحَثِّ عَلَى طَلَبِهَا وَبَيَانِ مَحَلِّهَا وَأَرْجَى أَوْقَاتِ طَلَبِهَا
Abu Huraira (Allah be pleased with him) reported Allah's Messenger (ﷺ) as saying:
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."
Reference: Sahih Muslim 1166
In-book reference: Book 13, Hadith 274
USC-MSA web (English) reference(deprecated numbering scheme): Book 6, Hadith 2624