The Messenger of Allah (ﷺ) as saying: Seek lailat al-qadr in the last seven days.

Sunan Abu Dawud Book 6 Hadith 15

Sunan Abu Dawud #1385

Prayer (Kitab Al-Salat): Detailed Injunctions about Ramadan 6:15

Narrated Ibn 'Umar:

The Messenger of Allah (ﷺ) as saying: Seek lailat al-qadr in the last seven days.

Chapter: Whoever Said It Was Among The Last Seven Nights

Grade: Sahih (Al-Albani)