I asked Ubayy bin Kaab , saying, "Your brother Ibn Masud says, 'Whoever stands in prayer the whole year will catch Laylat al-Qadr.'"He replied, "May Allah have mercy on him. He intended that people should not rely on it. He knew well that it is in Ramadan, that it is in the last ten nights, and that it is the twenty-seventh night."Then he swore, without making any exception, that it is the twenty-seventh night.I asked, "On what basis do you say this, Abu Mundhir?"He answered, "By the sign, or the indication, which the Messenger of Allah ﷺ told us about, that the sun rises that day without rays."
سألت أبي بن كعب رضي الله عنه، فقلت: إن أخاك ابن مسعود يقول: من يقم الحول يصب ليلة القدر. فقال: رحمه الله، أراد أن لا يتكل الناس. أما إنه قد علم أنها في رمضان، وأنها في العشر الأواخر وأنها ليلة سبع وعشرين. ثم حلف لا يستثني أنها ليلة سبع وعشرين. فقلت: بأي شيء تقول ذلك؟ يا أبا المنذر؟ قال: بالعلامة أو بالآية التي أخبرنا رسول الله ﷺ أنها تطلع يومئذ لا شعاع لها.
Muslim narrated it in the Book of Fasting (762:220) via Sufyan bin Uyayna, from Abda (that is, Ibn Abu Lubaba), and Asim bin Abu Najud, who both heard Zirr bin Hubaysh saying (as previously mentioned).