[Machine] The Messenger of Allah ﷺ observed the middle ten nights of Ramadan while seeking Laylat al-Qadr (Night of Decree), then he commanded the construction (of a shelter), but it collapsed. Then it was revealed to him during the last ten nights, so he commanded its construction again. He came out to us and said, "Indeed, it has been revealed to me that Laylat al-Qadr is in one of the odd nights of the last ten nights. So seek it in the ninth, seventh, and fifth nights." I said, "O Abu Sa'id, you are more knowledgeable about our number, so which night is the ninth, seventh, and fifth?" He said, "If it is the twenty-first night, then leave (for seeking it) on the next night, then the seventh night is the one after it, and then leave on the next night; the fifth night is the one after it." Al-Ruwairi said: Al-Mutarraf reported to me from Abu al-'Ala' that he heard Mu'awiyah say, "The Messenger of Allah ﷺ said, 'And the third (night)'"
اعْتَكَفَ رَسُولُ اللَّهِ ﷺ الْعَشْرَ الْأَوْسَطَ مِنْ رَمَضَانَ وَهُوَ يَلْتَمِسُ لَيْلَةَ الْقَدْرِ ثُمَّ أَمَرَ بِالْبِنَاءِ فَنُقِضَ ثُمَّ أُبِينَتْ لَهُ فِي الْعَشْرِ الْأَوَاخِرِ فَأَمَرَ بِهِ فَأُعِيدَ فَخَرَجَ إِلَيْنَا فَقَالَ «إِنَّهَا أُبِينَتْ لِي لَيْلَةُ الْقَدْرِ وَإِنِّي خَرَجْتُ لِأُبِينَهَا لَكُمْ فَتَلَاحَى رَجُلَانِ فَنُسِّيتُهَا فَالْتَمِسُوهَا فِي التَّاسِعَةِ وَالسَّابِعَةِ وَالْخَامِسَةِ» قُلْتُ يَا أَبَا سَعِيدٍ إِنَّكُمْ أَعْلَمُ بِالْعَدَدِ مِنَّا فَأَيُّ لَيْلَةٍ التَّاسِعَةُ وَالسَّابِعَةُ وَالْخَامِسَةُ قَالَ إِذَا كَانَ لَيْلَةُ وَاحِدٍ وَعِشْرِينَ ثُمَّ دَعْ لَيْلَةً ثُمَّ الَّتِي تَلِيهَا هِيَ السَّابِعَةُ ثُمَّ دَعْ لَيْلَةً وَالَّتِي تَلِيهَا هِيَ الْخَامِسَةُ قَالَ الْجُرَيْرِيُّ وَحَدَّثَنِي أَبُو الْعَلَاءِ عَنْ مُطَرِّفٍ أَنَّهُ سَمِعَ مُعَاوِيَةَ يَقُولُ قَالَ رَسُولُ اللَّهِ ﷺ «وَالثَّالِثَةِ»