The Prophet ﷺ said, "The people of Paradise will see those in the lofty chambers above them just as you see 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 must be the dwellings of the prophets, which none but they can attain."He replied, "On the contrary, by the One in whose hand is my soul, they are for Some men who believed in Allah and affirmed the truth of the messengers."
عن النبي ﷺ قال: إن أهل الجنة ليتراءون أهل الغرف من فوقهم، كما تتراءون الكوكب الدري الغابر من الأفق من المشرق أو المغرب، لتفاضل ما بينهم قالوا: يا رسول الله، تلك منازل الأنبياء لا يبلغها غيرهم قال: بلى، والذي نفسي بيده رجال آمنوا بالله وصدقوا المرسلين.
Bukhari related it in the Beginning of Creation (3256), and Muslim in Paradise and Its Description of Bliss and Its People (3831), both by way of Malik bin Anas, from Safwan bin Salim, from Ata bin Yasar, from Abu Saeed Khudri, who narrated it.