“I asked the Messenger of Allah (ﷺ): “On the Day when the earth will be changed to another earth and so will be the heavens.” – where will the people be on that Day?’ He said: ‘On the Sirat (the Bridge across Hell-fire).’”
Sunan Ibn Majah Book 37, Hadith 180