Ibn ‘Umar said that some of the Prophet’s companions had a dream that lailat al-qadr was among the last seven nights, so God’s messenger said, “ I see that your dreams agree regarding the last seven nights, so if anyone seeks it he should do so during the last seven nights.”
(Bukhari and Muslim.)