عَنْ أَبِي ذَرٍّ رَضِيَ اللَّهُ عَنْهُ قَالَ: قُلْتُ: يَا رَسُولَ اللَّهِ! أَخْبِرْنِي عَنْ لَيْلَةِ الْقَدْرِ أَفِي رَمَضَانَ هِيَ أَوْ فِي غَيْرِهِ؟، قَالَ: ((بَلْ هِيَ فِي رَمَضَانَ))، قَالَ: قُلْتُ: تَكُونُ مَعَ الْأَنْبِيَاءِ مَا كَانُوا، فَإِذَا قُبِضُوا رُفِعَتْ أَمْ هِيَ إِلَى يَوْمِ الْقِيَامَةِ؟ قَالَ: ((بَلْ هِيَ إِلَى يَوْمِ الْقِيَامَةِ))، قَالَ: قُلْتُ: فِي أَيِّ رَمَضَانَ هِيَ؟ قَالَ: ((الْتَمِسُوهَا فِي الْعَشْرِ الْأَوَّلِ، أَوْ الْعَشْرِ الْأَوَاخِرِ))، ثُمَّ حَدَّثَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ وَحَدَّثَ ثُمَّ اهْتَبَلْتُ غَفْلَتَهُ، قُلْتُ: فِي أَيِّ الْعِشْرِينَ هِيَ؟ قَالَ: ((ابْتَغُوهَا فِي الْعَشْرِ الْأَوَاخِرِ، لَا تَسْأَلْنِي عَنْ شَيْءٍ بَعْدَهَا))، ثُمَّ حَدَّثَ رَسُولُ اللَّهِ وَحَدَّثَ ثُمَّ اهْتَبَلْتُ غَفْلَتَهُ فَقُلْتُ: يَا رَسُولَ اللَّهِ! أَقْسَمْتُ عَلَيْكَ بِحَقِّي عَلَيْكَ لَمَا أَخْبَرْتَنِي فِي أَيِّ الْعَشْرِ هِيَ؟ قَالَ: فَغَضِبَ عَلَيَّ غَضَبًا لَمْ يَغْضَبْ مِثْلَهُ مُنْذُ صَحِبْتُهُ أَوْ صَاحَبْتُهُ، كَلِمَةً نَحْوَهَا، قَالَ: ((الْتَمِسُوهَا فِي السَّبْعِ الْأَوَاخِرِ، لَا تَسْأَلْنِي عَنْ شَيْءٍ بَعْدَهَا))
It is narrated from Sayyiduna Abu Dharr (may Allah be pleased with him), he says: O Messenger of Allah! Tell me about the Night of Qadr, is it in the month of Ramadan or in some other month? The Prophet (peace and blessings be upon him) said: It is in the month of Ramadan. I said: Does this night remain as long as the Prophet of Allah is present in the world, and when he departs from this world, is it also taken away, or will it remain until the Day of Judgment? The Prophet (peace and blessings be upon him) said: No, it will remain until the Day of Judgment. I said: In which part of Ramadan does it occur? The Prophet (peace and blessings be upon him) said: Seek it in the first or last ten nights. Then the Messenger of Allah (peace and blessings be upon him) mentioned various things, but in between, taking advantage of a momentary distraction due to your engagement, I suddenly asked: Which of these twenty nights could be the Night of Qadr? The Prophet (peace and blessings be upon him) said: Seek it in the last ten nights, now do not ask me any more questions after this. Then the Prophet (peace and blessings be upon him) continued the conversation, and again, finding an opportunity and taking advantage of your momentary distraction due to engagement, I asked: O Messenger of Allah! By the right I have upon you, I ask you to tell me which of these ten nights is the Night of Qadr? Upon hearing this, the Messenger of Allah (peace and blessings be upon him) became so angry with me that since I had been in his company, he had never been so angry with me before. Nevertheless, then the Prophet (peace and blessings be upon him) replied: Seek it in the last seven nights, now do not ask any more questions after this.