Abu Saeed Khudri reported,

We observed itikaf with the Messenger of Allah ﷺ during the middle ten days of Ramadan. He said, "I was shown Laylat al-Qadr, but I was made to forget it, so seek it in the odd nights of the last ten."

Ibn Majah 1766

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا إسمعيل ابن علية عن هشام الدستوائي عن يحيى بن أبي كثير عن أبي سلمة

عن أبي سعيد الخدري قال

اعتكفنا مع رسول الله ﷺ العشر الأوسط من رمضان فقال إني أريت ليلة القدر فأنسيتها فالتمسوها في العشر الأواخر في الوتر

ابن ماجه 1766صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Fasting
Chapter
Laylat al-Qadr
Numbering
Darussalam 1766
Ibn Majah 1766