And We made not the vision which We showed but a trial for mankind (17:60). He said: "It is the vision he saw with his eyes, on the night the Prophet (ﷺ) was taken on the journey to Bait Al-Maqdis. And the accursed tree in the Qur'an (17:60). He said: "It is the Zaqqum tree."
Jami` at-Tirmidhi Book 47, Hadith 186