Ikrima reported,

Ibn Abbas رضي الله عنهم said regarding the verse "And We did not make the vision We showed you except as a trial for the people" [Isra 17:60], "It was a vision seen with the eye, shown to the Messenger of Allah ﷺ on the night he was taken to Bayt al-Maqdis."Concerning "and the accursed tree in the Quran" [Isra 17:60], he said, "That is the tree of Zaqqum."

Bukhari 6613

Sahih

حدثنا الحميدي حدثنا سفيان حدثنا عمرو

عن عكرمة

عن ابن عباس رضي الله عنهما {وما جعلنا الرؤيا التي أريناك إلا فتنة للناس} قال هي رؤيا عين أريها رسول الله ﷺ ليلة أسري به إلى بيت المقدس قال {والشجرة الملعونة في القرآن} قال هي شجرة الزقوم

البخاري 6613صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Decree
Chapter
And We did not make the vision which We showed you except as a trial for the people
Numbering
Darussalam 6613
Bukhari 6613