“We observed I’tikaf
with the Messenger of Allah (ﷺ) during the middle ten days of
Ramadan. He said: ‘I have been shown Lailatul-Qadr, then I was
caused
to forget it, so seek it in the last ten night, on the
odd-numbered
nights.’”
Sunan Ibn Majah Book 7, Hadith 129