Some men from among the companions of the Prophet ﷺ were shown Laylat al-Qadr in their dreams during the last seven nights. The Messenger of Allah ﷺ said, "I see that your dreams agree upon the last seven nights. Whoever seeks it, let him seek it in the last seven nights."
و حدثنا يحيى بن يحيى قال قرأت على مالك عن نافع
أن رجالا من أصحاب النبي ﷺ أروا ليلة القدر في المنام في السبع الأواخر فقال رسول الله ﷺ أرى رؤياكم قد تواطأت في السبع الأواخر فمن كان متحريها فليتحرها في السبع الأواخر