Jami` at-Tirmidhi, Book 47, Hadith 3440 (In-Book)

Narrated Zirr bin Hubaish: "I said to Hudhaifah bin Al-Yaman: 'Did the Messenger of Allah perform Salat in Bait Al-Maqdis?' He said: 'No.' I said: 'But he did.' He said: 'You say that, O bald one! Based upon what do you say that?' I said: 'Based upon the Qur'an, (the Judge) between you and I is the Qur'an.' So Hudhaifah said: 'Whoever argues using the Qur'an, then he has indeed succeeded.'" (One of the narrators) Sufyan said: "He means: 'He has indeed proven'" - and perhaps he (Sufyan) said: "He triumphed." He (Zirr) said: "Glorified is He Who took His slave for a journey by night from Al-Masjid Al-Haram to Al-Masjid Al-Aqsa (17:1).' He (Hudhaifah) said: 'Do you see (this proves that) he performed Salat in it?' I said: 'No.' He said: 'If he had performed Salat in it, then it would have been required upon you that you perform Salat in it, just as it is required that you perform Salat in Al-Masjid Al-Haram.' Hudhaifah said: 'The Messenger of Allah was brought a beast with a long back - stretching out like this - one stride of it, is as far as his vision. So, the two of them remained upon the back of Al-Buraq until they saw Paradise and the Fire, and all of what has been prepared for the Hereafter, then they returned back to where they began.' He said: 'They say that he was fettered, but for what? Because he might flee? The Knower of the unseen and the witness subdued him.'"

حَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ، عَنْ مِسْعَرٍ، عَنْ عَاصِمِ بْنِ أَبِي النَّجُودِ، عَنْ زِرِّ بْنِ حُبَيْشٍ، قَالَ قُلْتُ لِحُذَيْفَةَ بْنِ الْيَمَانِ أَصَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم فِي بَيْتِ الْمَقْدِسِ قَالَ لاَ ‏.‏ قُلْتُ بَلَى ‏.‏ قَالَ أَنْتَ تَقُولُ ذَاكَ يَا أَصْلَعُ بِمَا تَقُولُ ذَلِكَ قُلْتُ بِالْقُرْآنِ بَيْنِي وَبَيْنَكَ الْقُرْآنُ ‏.‏ فَقَالَ حُذَيْفَةُ مَنِ احْتَجَّ بِالْقُرْآنِ فَقَدْ أَفْلَحَ قَالَ سُفْيَانُ يَقُولُ فَقَدِ احْتَجَّ ‏.‏ وَرُبَّمَا قَالَ قَدْ فَلَجَ فَقَالَ ‏:‏ ‏(‏سُبْحَانَ الَّذِي أَسْرَى بِعَبْدِهِ لَيْلاً مِنَ الْمَسْجِدِ الْحَرَامِ إِلَى الْمَسْجِدِ الأَقْصَى ‏)‏ قَالَ أَفَتَرَاهُ صَلَّى فِيهِ قُلْتُ لاَ ‏.‏ قَالَ لَوْ صَلَّى فِيهِ لَكُتِبَ عَلَيْكُمْ فِيهِ الصَّلاَةُ كَمَا كُتِبَتِ الصَّلاَةُ فِي الْمَسْجِدِ الْحَرَامِ قَالَ حُذَيْفَةُ قَدْ أُتِيَ رَسُولُ اللَّهِ صلى الله عليه وسلم بِدَابَّةٍ طَوِيلَةِ الظَّهْرِ مَمْدُودَةٍ هَكَذَا خَطْوُهُ مَدُّ بَصَرِهِ فَمَا زَايَلاَ ظَهْرَ الْبُرَاقِ حَتَّى رَأَيَا الْجَنَّةَ وَالنَّارَ وَوَعْدَ الآخِرَةِ أَجْمَعَ ثُمَّ رَجَعَا عَوْدَهُمَا عَلَى بَدْئِهِمَا قَالَ وَيَتَحَدَّثُونَ أَنَّهُ رَبَطَهُ لِمَ أَيَفِرُّ مِنْهُ وَإِنَّمَا سَخَّرَهُ لَهُ عَالِمُ الْغَيْبِ وَالشَّهَادَةِ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏

sunnah.com