The Messenger of Allah ﷺ said, "Seek out Laylat al-Qadr in the last seven nights."
حدثنا القعنبي عن مالك عن عبد الله بن دينار
قال رسول الله ﷺ تحروا ليلة القدر في السبع الأواخر
Muslim narrated it in his Sahih, in the chapter on Fasting, in the section on the merit of Laylat al-Qadr and the encouragement to seek it, etc., hadith no. 1165, from the hadith of Malik through this same chain, and it is found in Muwatta (Yahya): 1/320.