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.
tabarani:9587Muḥammad b. Jaʿfar al-Rāzī > ʿAlī b. al-Jaʿd > Ibn Thawbān > ʿAbdah b. Abū Lubābah > Zir b. Ḥubaysh > Tadhākarūā ʿInd Ibn Masʿūd Laylah al-Qadr > Man Qām Shahr Ramaḍān Kullah Adrakahā

[Machine] Whoever observes the entire month of Ramadan, he will surely catch its Night of Power. So, I arrived at Medina and mentioned this to Ubayy, who said, "By the One in whose hand is my soul, I know which night it is that the Messenger of Allah ﷺ commanded us to observe." So, I asked him about it, and he said, "It is the twenty-seventh night." Abdullah said, "So, if the month is thirty days, we would observe three nights after it, and if it is twenty-nine days, we would observe two nights after it."  

الطبراني:٩٥٨٧حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ الرَّازِيُّ ثنا عَلِيُّ بْنُ الْجَعْدِ أنا ابْنُ ثَوْبَانَ عَنْ عَبْدَةَ بْنِ أَبِي لُبَابَةَ عَنْ زِرِّ بْنِ حُبَيْشٍ قَالَ تَذَاكَرُوا عِنْدَ ابْنِ مَسْعُودٍ لَيْلَةَ الْقَدْرِ فَقَالَ

مَنْ قَامَ شَهْرَ رَمَضَانَ كُلَّهُ أَدْرَكَهَا قَالَ فَقَدِمْتُ الْمَدِينَةَ فَذَكَرْتُ ذَلِكَ لِأُبُيٍّ فَقَالَ «وَالَّذِي نَفْسِي بِيَدِهِ إِنِّي لَأَعْلَمُ أَيَّ لَيْلَةٍ هِي اللَّيْلَةُ الَّتِي أَمَرَنَا رَسُولُ اللهِ ﷺ بِقِيَامِهَا» قَالَ فَسَأَلْتُهُ عَنْهَا فَقَالَ «لَيْلَةُ سَبْعٍ وَعِشْرِينَ» قَالَ عَبْدَةُ «فَإِذَا كَانَ الشَّهْرُ ثَلَاثِينَ قُمْنَا بَعْدَهَا ثَلَاثًا وَإِذَا كَانَ تِسْعًا وَعِشْرِينَ قُمْنَا بَعْدَهَا لَيْلَتَيْنِ»