Once I went to Abu- Saʿid Al-Khudri and asked him, "Won't you come with us to the date-palm trees to have a talk?" So Abu Saʿid went out and I asked him, "Tell me what you heard from the Prophet ﷺ about the Night of Qadr." Abu Saʿid replied, "Once Messenger of Allah ﷺ performed Iʿtikaf (seclusion) on the first ten days of the month of Ramadan and we did the same with him. Gabriel came to him and said, 'The night you are looking for is ahead of you.' So the Prophet ﷺ performed the Iʿtikaf in the middle (second) ten days of the month of Ramadan and we too performed Iʿtikaf with him. Gabriel came to him and said, 'The night which you are looking for is ahead of you.' In the morning of the 20th of Ramadan the Prophet ﷺ delivered a sermon saying, 'Whoever has performed Iʿtikaf with me should continue it. I have been shown the Night of "Qadr", but have forgotten its date, but it is in the odd nights of the last ten nights. I saw in my dream that I was prostrating in mud and water.' In those days the roof of the mosque was made of branches of date-palm trees. At that time the sky was clear and no cloud was visible, but suddenly a cloud came and it rained. The Prophet ﷺ led us in the prayer and I saw the traces of mud on the forehead and on the nose of Messenger of Allah ﷺ. So it was the confirmation of that dream."
انْطَلَقْتُ إِلَى أَبِي سَعِيدٍ الْخُدْرِيِّ فَقُلْتُ أَلاَ تَخْرُجُ بِنَا إِلَى النَّخْلِ نَتَحَدَّثْ فَخَرَجَ فَقَالَ قُلْتُ حَدِّثْنِي مَا سَمِعْتَ مِنَ النَّبِيِّ ﷺ فِي لَيْلَةِ الْقَدْرِ قَالَ اعْتَكَفَ رَسُولُ اللَّهِ ﷺ عَشْرَ الأُوَلِ مِنْ رَمَضَانَ وَاعْتَكَفْنَا مَعَهُ فَأَتَاهُ جِبْرِيلُ فَقَالَ إِنَّ الَّذِي تَطْلُبُ أَمَامَكَ فَاعْتَكَفَ الْعَشْرَ الأَوْسَطَ فَاعْتَكَفْنَا مَعَهُ فَأَتَاهُ جِبْرِيلُ فَقَالَ إِنَّ الَّذِي تَطْلُبُ أَمَامَكَ فَقَامَ النَّبِيُّ ﷺ خَطِيبًا صَبِيحَةَ عِشْرِينَ مِنْ رَمَضَانَ فَقَالَ مَنْ كَانَ اعْتَكَفَ مَعَ النَّبِيِّ ﷺ فَلْيَرْجِعْ فَإِنِّي أُرِيتُ لَيْلَةَ الْقَدْرِ وَإِنِّي نُسِّيتُهَا وَإِنَّهَا فِي الْعَشْرِ الأَوَاخِرِ فِي وِتْرٍ وَإِنِّي رَأَيْتُ كَأَنِّي أَسْجُدُ فِي طِينٍ وَمَاءٍ وَكَانَ سَقْفُ الْمَسْجِدِ جَرِيدَ النَّخْلِ وَمَا نَرَى فِي السَّمَاءِ شَيْئًا فَجَاءَتْ قَزْعَةٌ فَأُمْطِرْنَا فَصَلَّى بِنَا النَّبِيُّ ﷺ حَتَّى رَأَيْتُ أَثَرَ الطِّينِ وَالْمَاءِ عَلَى جَبْهَةِ رَسُولِ اللَّهِ ﷺ وَأَرْنَبَتِهِ تَصْدِيقَ رُؤْيَاهُ