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.
ليلة أسري برسول الله ﷺ من مسجد الكعبة… وفيه: كل سماء فيها أنبياء قد سماهم فأوعيت منهم: إدريس في الثانية، وهارون في الرابعة، وآخر في الخامسة لم أحفظ اسمه، وإبراهيم في السادسة، وموسى في السابعة بتفضيل كلام الله.
Bukhari narrated it in the Book of Tawhid (7517), and Muslim in the Book of Faith (162:262), both of them through Sulayman bin Bilal, from Sharik bin Abdullah, who said, "I heard Anas bin Malik say," and then he mentioned it. This is the wording of Bukhari, while Muslim did not give the full wording but instead referred back to the hadith of Thabit from Anas, saying, "And he related the hadith with its story similarly to the hadith of Thabit Bunani, putting some parts before others, and adding and omitting some things."As for his statement, "in the sixth heaven," what is established in all the narrations other than these two is that it was in the seventh. So the narration of the majority is the more likely to be correct, because of his statement in it, "he saw him leaning his back against the Frequented House," which is in the seventh heaven without any disagreement.