Zirr bin Hubaysh reported,

I asked Ubayy, "Abu Mundhir, your brother Ibn Masud says, 'Whoever stands the whole year in prayer will catch Laylat al-Qadr.'"He replied, "May Allah have mercy on him. He knew well that it is in the month of Ramadan, and that it is the twenty-seventh night."He then swore an oath to that effect.I asked, "How do you know that?"He answered, "By the sign, or by the indication that we were informed of, that the sun rises that day without any rays."

Ahmad 21193

Sahih

حدثنا سفيان قال سمعته من عبدة وعاصم

عن زر قال

سألت أبيا قلت أبا المنذر إن أخاك ابن مسعود يقول من يقم الحول يصب ليلة القدر فقال يرحمه الله لقد علم أنها في شهر رمضان وأنها ليلة سبع وعشرين قال وحلف قلت وكيف تعلمون ذلك قال بالعلامة أو بالآية التي أخبرنا بها أن الشمس تطلع ذلك اليوم لا شعاع لها

أحمد 21193صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Zirr bin Hubaysh from Ubayy bin Kaab
Numbering
Darussalam 21193
Ahmad 21193