Sahih Muslim, Book 13, Hadith 273 (Muslim 2742)

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

Seek the time of Lailat-ul-Qadr in the last (ten nights), or he said: in the last nine (nights).