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", "It was a vision seen with the eye, which the Messenger of Allah ﷺ was shown on the night he was taken on the night journey." And regarding "and the accursed tree", he said it is the tree of Zaqqum.

Bukhari 4716

Sahih

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

عن عكرمة

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

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