Sahih Bukhari – Hadith No : 6694

Narrated Ibn `Abbas: (regarding the Verse) “And We granted the vision (Ascension to the heavens “Miraj”) which We showed you (O Muhammad as an actual eye witness) but as a trial for mankind.’ (17.60): Allah’s Apostle actually saw with his own eyes the vision (all the things which were shown to him) on the night of his Night Journey to Jerusalem (and then to the heavens). The cursed tree which is mentioned in the Qur’an is the tree of Az-Zaqqum.

Hadith In Arabic Text :

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

Chapter : Divine Will (Al-Qadar) – كتاب القدر