Lahiq bin Humayd and Ikrima reported,

Umar asked, "Who knows when Laylat al-Qadr is?"Ibn Abbas replied, "The Messenger of Allah ﷺ said, 'It is in the last ten nights, after seven have passed or with seven remaining.'"

Ahmad 2543

Sahih

حدثنا عفان حدثنا عبد الواحد بن زياد حدثنا عاصم الأحول

عن لاحق بن حميد وعكرمة قالا

قال عمر من يعلم متى ليلة القدر قالا فقال ابن عباس قال رسول الله ﷺ هي في العشر في سبع يمضين أو سبع يبقين

أحمد 2543صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 2543
Ahmad 2543