Dalil

Quran Taha 20:55

مِنۡهَا خَلَقۡنَٰكُمۡ وَفِيهَا نُعِيدُكُمۡ وَمِنۡهَا نُخۡرِجُكُمۡ تَارَةً أُخۡرَىٰ

Translation

From it [i.e., the earth] We created you, and into it We will return you, and from it We will extract you another time.