Quran 41: 9-10:
Say to them, “Are you rejecting the One Who created the earth in two stages? Are you making others equals with Him? That’s the Lord of All the Worlds!” 
He placed well-rooted highlands upon (the earth) and (put many) blessings within them. Then He measured out every (physical and ecological system), so there would be sufficient resources (for all living things, a process that was accomplished) in four stages. (It’s a) balanced (system to provide for all those) who ask (for their needed resources to survive). 
Modern science had identified four distinct stages in the development of the earth. Stage one is called differentiation, a time in which heavier masses sunk to the core of the earth while lighter materials moved towards the surface. Stage two is called cratering, in which the earth was strong enough to withstand the constant bombardment of meteorites and comets. The third stage is known as the flooding stage, and it involved the free flowing of water and lava, along with the release of associated gases. Rain and the appearance of oceans occurred at this time. The final stage is called slow surface evolution, and it is currently in operation today. This is the phenomenon of gradation and uplift of the crust, continental drift and also plate tectonics. This is also the stage in which living organisms arose.
The Gaia hypothesis
Lovelock suggested that the entire planet makes up a single, self-regulating, living entity, which he called Gaia. The very presence of life itself regulates the temperature of the surface, the concentration of oxygen, and the chemical composition of the oceans, optimizing conditions for life. However, he warned that human impact on the environment may disrupt this delicate balance.
Emerick, Yahiya. The Meaning of the Holy Qur’an in Today’s English (p. 827). Unknown. Kindle Edition.
Lovelock, James. The Science Book (p. 315)