Abdullah bin Umar reported,

He used to pray during the night, and people kept relating their dreams to the Prophet ﷺ indicating that it was on the seventh night of the last ten. So the Prophet ﷺ said, "I see that your dreams agree that it falls in the last ten nights. Whoever seeks it, let him seek it in the last ten nights."

Bukhari 1158

Sahih

فكان

عبد الله رضي الله عنه

يصلي من الليل وكانوا لا يزالون يقصون على النبي ﷺ الرؤيا أنها في الليلة السابعة من العشر الأواخر فقال النبي ﷺ أرى رؤياكم قد تواطأت في العشر الأواخر فمن كان متحريها فليتحرها من العشر الأواخر

البخاري 1158صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tahajjud
Chapter
Virtue of one who wakes at night and prays
Numbering
Darussalam 1158
Bukhari 1158