Regarding the verse "And We did not make the vision which We showed you except as a trial for the people" [Isra 17:60], he said it was a vision seen with the eyes, shown to the Prophet ﷺ on the night he was taken to Bayt al-Maqdis. As for "and the cursed tree in the Quran" [Isra 17:60], he said it is the tree of Zaqqum.He said this is a hasan sahih hadith.
حدثنا ابن أبي عمر حدثنا سفيان عن عمرو بن دينار عن عكرمة
في قوله {وما جعلنا الرؤيا التي أريناك إلا فتنة للناس} قال هي رؤيا عين أريها النبي ﷺ ليلة أسري به إلى بيت المقدس قال {والشجرة الملعونة في القرآن} هي شجرة الزقوم قال هذا حديث حسن صحيح