I asked the Messenger of Allah ﷺ about the saying of Allah , "On the Day when the earth will be replaced by another earth, and so will be the heavens" [Ibrahim 14:48]. "Where will the people be on that Day, Messenger of Allah?"He replied, "On the Sirat."
سألت رسول الله ﷺ عن قوله عز وجل: {يوم تبدل الأرض غير الأرض والسموات} فأين يكون الناس يومئذ يا رسول الله؟ فقال: على الصراط.
Muslim narrated it in the chapter on the description of the Resurrection (2791), from Abu Bakr bin Abu Shayba, who said, Ali bin Mushir narrated to us, from Dawud, from Shaybi, from Masruq, from Ayesha, and he mentioned it.The meaning of the transformation of the earth is the alteration of its formative structure, such as its mountains, rivers, and trees, and likewise the alteration of its natural condition, such as heat, cold, air, and gravity. No one knows the true nature of its state on the Day of Resurrection except Allah .