ENOfficial
It was narrated that Abu Sa’eed Al-Khudri said: “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.’”
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا إِسْمَاعِيلُ ابْنُ عُلَيَّةَ، عَنْ هِشَامٍ الدَّسْتَوَائِيِّ، عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ اعْتَكَفْنَا مَعَ رَسُولِ اللَّهِ ـ صلى الله عليه وسلم ـ الْعَشْرَ الأَوْسَطَ مِنْ رَمَضَانَ فَقَالَ " إِنِّي أُرِيتُ لَيْلَةَ الْقَدْرِ فَأُنْسِيتُهَا فَالْتَمِسُوهَا فِي الْعَشْرِ الأَوَاخِرِ فِي الْوَتْرِ " .
sunnah.com