Sahih Muslim, Book 13, Hadith 272 (Muslim 2741)

Ibn Umar (Allah be pleased with them) reported Allah's Messenger (ﷺ) as saying:

He who is anxious to seek it (Lailat-ul-Qadr) should seek it in the last ten (nights of Ramadan).