Hadithcore
Sahih Muslim, 172
sahih

It is narrated on the authority of Abu Huraira that the Messenger of Allah (ﷺ) said:

I found myself in Hijr and the Quraish were asking me about my might journey. I was asked about things pertaining to Bait-ul-Maqdis which I could not preserve (in my mind). I was very much vexed, so vexed as I had never been before. Then Allah raised it (Bait-ul-Maqdis) before my eyes. I looked towards it, and I gave them the information about whatever they questioned me I also saw myself among the group of apostles. I saw Moses saying prayer and found him to be a well-built man as if he was a man of the tribe of Shanu'a. I saw Jesus son of Mary (peace be upon him) offering prayer, of all of men he had the closest resemblance with 'Urwa b. Masu'd al-Thaqafi. I saw Ibrahim (peace be upon him) offering prayer; he had the closest resemblance with your companion (the Prophet (ﷺ) himself) amongst people. When the time of prayer came I led them. When I completed the prayer, someone said: Here is Malik, the keeper of the Hell; pay him salutations. I turned to him, but he preceded me in salutation.

وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا حُجَيْنُ بْنُ الْمُثَنَّى، حَدَّثَنَا عَبْدُ الْعَزِيزِ، - وَهُوَ ابْنُ أَبِي سَلَمَةَ - عَنْ عَبْدِ اللَّهِ بْنِ الْفَضْلِ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

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

‏ ‏.‏

References2 variants
In-Book Reference
Book 1, Hadith 335
USC-MSA web (English) reference
Book 1, Hadith 328 (deprecated numbering scheme)
Sharh · explanationclick to expand
The journey of the Isra and Me’raj was one of the miracles with which Allah supported His Prophet Muhammad ﷺ. He honored and ascended him with Gabriel, the Angel, to the highest heaven so he saw Allah’s Paradise along with His greatest signs. In this hadith, the Prophet ﷺ told us that he once stood at Al-Hejr, a place surrounded by a low wall next to the Kaaba where Qureish leaders used to meet, they asked him to describe Bait Al-Maqdis that he visited during his journey from the Sacred Mosque to the Al-Aqsa Mosque, for they wanted to confirm his truth of traveling there. They knew that he had not traveled to that place ever since. Indeed, the Prophet ﷺ was not concerned with deeply observing all those details. He was busy with lots of things that were more important. He was anxious and distressed that he could not recall those details. As a result, Allah materialized the mosque before his eyes so he could answer all their questions. Additionally, he told us that he saw some prophets like Prophet Moses. In Sahih Muslim, he said, “I passed by Prophet Moses who was praying in his grave.” The Prophet Moses was a thin tall man with curly hair and swarthy skin as if he were from the tribe of Shanou’a, a Yemeni tribe from Qahtan area known for its tall people. The Prophet ﷺ also saw Prophet Jesus, son of Mary, praying. The closest one in resemblance to him was the Prophet’s companion Urwah ibn Masoud Ath-Thaqafy who effectively contributed to ratify Treaty of Hudaybeya. In a narration in Sahih Bukhari, he said, “As for Jesus, he was red, curly, and broad-chested.” The Prophet ﷺ saw Prophet Ibrahim praying. The closest one in resemblance to him was the Prophet Muhammad ﷺ himself. When meeting the prophets and the time for prayer began, he led them in prayer. If someone asks, “How did he see Moses praying in his grave and then saw him in his rank in the high heavens?” The answer is that all these story’s details are beyond our imagination. It is Allah’s act, the One, the Almighty. He is even capable of doing more than that. Thus, we believe that he saw Moses praying in his grave, he led all prophets in Bait Al-Maqdes in prayer, and they welcomely received him during his ascending to a heaven after a heaven. After completing his prayer, someone said to him (apparently Gabriel, the Angel), “O Muhammad, this is Malek, the keeper of Hell.” He is one of the angels. He (apparently Gabriel) asked the Prophet ﷺ to greet Malek, but Malek greeted him first. This hadith contains the following benefits: (1) It showed the Prophet’s virtue and status that Allah granted him, and (2) It clarified how Allah cared and provided his Prophet ﷺ with clear evidence..