The Messenger of Allah ﷺ said, "The people of Paradise will see those in the lofty chambers above them just as you see a brilliant star fading on the horizon, in the east or the west, due to the difference in rank between them."They asked, "Messenger of Allah, are those the dwellings of the prophets, which no one else can reach?"He replied, "On the contrary, by the One in whose hand my soul rests, they are Some men who believed and affirmed the truth of the messengers."
أن رسول الله ﷺ قال: إن أهل الجنة يتراؤون أهل الغرف من فوقهم، كما تتراءون الكوكب الدري الغابر من الأفق من المشرق أو المغرب لتفاضل ما بينهم. قالوا: يا رسول الله، تلك منازل الأنبياء لا يبلغها غيرهم؟ قال: بلى والذي نفسي بيده رجال آمنوا وصدقوا المرسلين.
Bukhari narrated it in the Beginning of Creation (3256), and Muslim in the Description of Paradise (2831), both through the route of Malik, from Safwan bin Salim, from Ata bin Yasar, from Abu Saeed Khudri, who said, and then he mentioned it. I did not find it in Muwatta Malik according to the narration of Yahya Laythi.