Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:20:6

To Him belongs what is in the heavens and what is on the earth and what is between them and what is under the soil.  

to Him belongs whatever is in the heavens and whatever is in the earth and whatever is between them, of creatures, and whatever is beneath the soil (al-tharā, is moist earth) meaning ˹whatever is beneath˺ the seven earths, since these lie beneath it.
القرآن:٢٠:٦

لَهُ مَا فِي السَّمَاوَاتِ وَمَا فِي الْأَرْضِ وَمَا بَيْنَهُمَا وَمَا تَحْتَ الثَّرَىٰ  

{له ما في السماوات وما في الأرض وما بينهما} من المخلوقات {وما تحت الثرى} هو التراب الندي، والمراد الأرضون السبع لأنها تحته.