Someone asked, "Messenger of Allah, tell us about Laylat al-Qadr."The Messenger of Allah ﷺ replied, "It falls in Ramadan. Seek it in the last ten nights, for it is on an odd-numbered night, the twenty-first, the twenty-third, the twenty-fifth, the twenty-seventh, the twenty-ninth, or the final night. Whoever stands in prayer on that night out of faith and seeking reward will have all his past and future sins forgiven."
حدثنا عبد الملك بن عمرو حدثنا زهير بن محمد عن عبد الله بن محمد يعني ابن عقيل عن عمر بن عبد الرحمن
يا رسول الله أخبرنا عن ليلة القدر فقال رسول الله ﷺ هي في رمضان التمسوها في العشر الأواخر فإنها وتر في إحدى وعشرين أو ثلاث وعشرين أو خمس وعشرين أو سبع وعشرين أو تسع وعشرين أو في آخر ليلة فمن قامها إيمانا واحتسابا غفر له ما تقدم من ذنبه وما تأخر
Its isnad is hasan, because of Muhammad bin Abdullah bin Aqeel and Umar bin Abdul-Rahman, who is Ibn Awf al-Qurashi, and the hadith has already appeared at 22566.