I asked the Messenger of Allah ﷺ about the verse "The Day when the earth will be replaced by another earth, and the heavens as well" [Ibrahim 14:48], "Where will the people be on that Day?"He replied, "On the Sirat."
حدثنا أبو بكر بن أبي شيبة حدثنا علي بن مسهر عن داود عن الشعبي عن مسروق
سألت رسول الله ﷺ {يوم تبدل الأرض غير الأرض والسماوات} فأين تكون الناس يومئذ قال على الصراط