The Prophet (ﷺ) as saying: Seek laitat al-Qadr in the last ten night of Ramadan. When nine (nights) remain (i.e. on the twenty first) , when seven (night) remain (i.e. on the twenty third), and when five (nights) remain (i.e. on the twenty fifth).
Sunan Abi Dawud Book 6, Hadith 11