Allah’s Messenger (ﷺ) said, “While I was at Mecca the roof of my house was opened and Gabriel descended, opened my chest, and washed it with Zamzam water. Then he brought a golden tray full of wisdom and faith and having poured its contents into my chest, he closed it. Then he took my hand and ascended with me to the nearest heaven,
when I reached the nearest heaven, Gabriel said to the gatekeeper of the heaven, ‘Open (the gate).’ The gatekeeper asked, ‘Who is it?’ Gabriel answered: ‘Gabriel.’ He asked, ‘Is there anyone with you?’ Gabriel replied, ‘Yes, Muhammad I is with me.’ He asked, ‘Has he been called?
Gabriel said, ‘Yes.’ So the gate was opened and we went over the nearest heaven and there we saw a man sitting with some people on his right and some on his left. When he looked towards his right, he laughed and when he looked toward his left he wept.
Then he said, ‘Welcome! O pious Prophet and pious son.’ I asked Gabriel, ‘Who is he?’ He replied, ‘He is Adam and the people on his right and left are the souls of his offspring.
Those on his right are the people of Paradise and those on his left are the people of Hell and when he looks towards his right he laughs and when he looks towards his left he weeps.’ Then he ascended with me till he reached the second heaven and he (Gabriel) said to its gatekeeper,
Open (the gate).’ The gatekeeper said to him the same as the gatekeeper of the first heaven had said and he opened the gate. Anas said: “Abu Dhar added that the Prophet (ﷺ) met Adam,
Idris, Moses, Jesus and Abraham, he (Abu Dhar) did not mention on which heaven they were but he mentioned that he (the Prophet (ﷺ) ) met Adam on the nearest heaven and Abraham on the sixth heaven.