Huzaifa bin Yaman reported,

"Did the Messenger of Allah ﷺ pray in Bayt al-Maqdis?"He said, "No."I said, "Yes, he did."He said, "You say that, bald one? On what basis do you say so?"I said, "On the basis of the Quran. The Quran is the judge between you and me."Hudhayfah said, "Whoever argues with the Quran has succeeded." Sufyan said, he means, "has won the argument," and sometimes he said, "has triumphed."So I recited, "Glory be to the One who took His servant by night from the Sacred Mosque to the Farthest Mosque" [Isra 17:1].He said, "Do you see that he prayed in it?"I said, "No."He said, "Had he prayed in it, prayer there would have been prescribed upon you just as prayer in the Sacred Mosque was prescribed."Hudhayfah said, "The Messenger of Allah ﷺ was brought a beast with a long back, stretched out like this, its stride extending as far as its sight could reach. The two of them did not part from the back of Buraq until they had seen Paradise and the Fire and all that has been promised for the Hereafter, then they returned the way they had come."He said, "People claim that he tied it up lest it bolt from him, but rather it was the Knower of the unseen and the seen who made it subservient to him."

Tirmidhi 3147

Sahih

حدثنا ابن أبي عمر حدثنا سفيان عن مسعر عن عاصم بن أبي النجود عن زر بن حبيش قال

قلت لحذيفة بن اليمان

أصلى رسول الله ﷺ في بيت المقدس قال لا قلت بلى قال أنت تقول ذاك يا أصلع بم تقول ذلك قلت بالقرآن بيني وبينك القرآن فقال حذيفة من احتج بالقرآن فقد أفلح قال سفيان يقول فقد احتج وربما قال قد فلج فقال {سبحان الذي أسرى بعبده ليلا من المسجد الحرام إلى المسجد الأقصى} قال أفتراه صلى فيه قلت لا قال لو صلى فيه لكتبت عليكم الصلاة فيه كما كتبت الصلاة في المسجد الحرام قال حذيفة أتي رسول الله ﷺ بدابة طويلة الظهر ممدودة هكذا خطوه مد بصره فما زايلا ظهر البراق حتى رأيا الجنة والنار ووعد الآخرة أجمع ثم رجعا عودهما على بدئهما قال ويتحدثون أنه ربطه لم أيفر منه وإنما سخره له عالم الغيب والشهادة

الترمذي 3147صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Tafsir of the Quran
Chapter
From Surah Bani Israil
Numbering
Darussalam 3147
Tirmidhi 3147