Anas bin Malik reported,

On the night the Messenger of Allah ﷺ was taken on the night journey from the Mosque of the Kaabah... and in it, In every heaven there were prophets whom he named, and I retained from among them, Idris in the second, Harun in the fourth, and another in the fifth whose name I did not memorize, Ibrahim in the sixth, and Musa in the seventh, by virtue of his being honored with the speech of Allah.

Azami 8389

Sahih

عن أنس بن مالك يقول

ليلة أسري برسول الله ﷺ من مسجد الكعبة… وفيه: كل سماء فيها أنبياء قد سماهم فأوعيت منهم: إدريس في الثانية، وهارون في الرابعة، وآخر في الخامسة لم أحفظ اسمه، وإبراهيم في السادسة، وموسى في السابعة بتفضيل كلام الله.

الأعظمي 8389صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Stories of the prophets
Chapter
Ibrahim and his sons, peace be upon them
Section
Prophet ﷺ meeting Ibrahim عليه السلام in the seventh heaven
Numbering
Jami al-Kamil 8389 (2nd edition)
Azami 8389