Allah's Messenger (ﷺ) used to practice I`tikaf in the last ten nights of Ramadan and used to say, "Look for the Night of Qadr in the last ten nights of the month of Ramadan."
Sahih al-Bukhari Book 32, Hadith 7