The Messenger of Allah ﷺ said, "Seek out Laylat al-Qadr on the odd nights of the last ten days of Ramadan."
أن رسول الله ﷺ قال: تحروا ليلة القدر في الوتر من العشر الأواخر من رمضان.
Bukhari narrated it in the chapter on the virtue of Laylat al-Qadr (2017) via Abu Suhayl, from his father, from Ayesha. Abu Suhayl is Nafi bin Malik bin Abu Amir al-Asbahi.He also narrated it (2020), and Muslim narrated it in the chapter on fasting (1169), both via Hisham bin Urwa, from his father, from Ayesha, who said, "The Messenger of Allah used to seclude himself in the last ten days of Ramadan, and he would say, 'Seek out Laylat al-Qadr in the last ten days of Ramadan.'" The wording is Bukhari's.