The Messenger of Allah ﷺ said, "The people of paradise will look up at those in the lofty chambers above them just as you gaze at a brilliant star receding on the horizon, in the east or the west, due to the difference in rank between them."They said, "Messenger of Allah, those are the dwellings of the prophets, which none other than them can reach."He replied, "On the contrary, by the One in whose hand is my soul, they are Some men who believed in Allah and affirmed the truth of the messengers."
أن رسول الله ﷺ قال: إن أهل الجنة ليتراءون أهل الغرف من فوقهم، كما تتراءون الكوكب الدري الغابر من الأفق من المشرق أو المغرب لتفاضل ما بينهم قالوا: يا رسول الله تلك منازل الأنبياء، لا يبلغها غيرهم. قال: بلى والذي نفسي بيده، رجال آمنوا بالله وصدقوا المرسلين.
Bukhari narrated it in "The Beginning of Creation" (3256), and Muslim in "Paradise and the Description of Its Bliss" (2831), both through Malik bin Anas, from Safwan bin Salim, from Ata bin Yasar, from Abu Saeed Khudri, who related it.