Sahih Muslim , Book 1, Hadith 326 (USC-MSA)

It is narrated on the authority of Jabir b. 'Abdullah that the Messenger of Allah said: When the Quraish belied me, I was staying in Hatim and Allah lifted before me Bait-ul-Maqdis and I began to narrate to them (the Quraish of Mecca) its signs while I was in fact looking at it.

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

sunnah.com