Abu Hurairah reported,

The Messenger of Allah ﷺ said, "I saw myself in the Hijr while the Quraysh were questioning me about my night journey. They asked me about things in Bayt al-Maqdis that I had not taken careful note of, and I felt a distress unlike any I had ever felt before. Then Allah raised it up before me so that I could see it, and they did not ask me about anything without my informing them of it.I also saw myself in a gathering of the prophets. There was Musa standing in prayer, a lean curly-haired man who looked as if he were from the men of Shanua. And there was Isa son of Maryam عليه السلام standing in prayer, the person who most resembled him is Urwa bin Masud Thaqafi. And there was Ibrahim عليه السلام standing in prayer, the person who most resembled him is your companion," meaning himself."Then the time of prayer came, and I led them. When I finished the prayer, a voice said, 'Muhammad, this is Malik, the keeper of the Fire, so greet him.' I turned toward him, but he greeted me first."

Muslim 430

Sahih

و حدثني زهير بن حرب حدثنا حجين بن المثنى حدثنا عبد العزيز وهو ابن أبي سلمة عن عبد الله بن الفضل عن أبي سلمة بن عبد الرحمن

عن أبي هريرة قال

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

مسلم 430صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Messiah son of Maryam and Dajjal
Numbering
Darussalam 430
Muslim 430