Some men amongst the companions of the Prophet (ﷺ) were shown in their dreams that the night of Qadr
was in the last seven nights of Ramadan. Allah's Messenger (ﷺ) said, "It seems that all your dreams agree
that (the Night of Qadr) is in the last seven nights, and whoever wants to search for it (i.e. the Night of
Qadr) should search in the last seven (nights of Ramadan).
Sahih al-Bukhari Book 32, Hadith 2