Which one was created first? As you will see in the verses below, Allah at one time says that Earth was created first and another time he says that the Heaven was created first.
002.029 It is He Who hath created for you all things that are on earth; Moreover His design comprehended the heavens, for He gave order and perfection to the seven firmaments; and of all things He hath perfect knowledge.
079.027-030 What! Are ye the more difficult to create or the heaven (above)? (Allah) hath constructed it:
On high hath He raised its canopy, and He hath given it order and perfection.
Its night doth He endow with darkness, and its splendour doth He bring out (with light).
And the earth, moreover, hath He extended (to a wide expanse);
Now, does it match modern science? Do you believe that, Earth was created first, after that, God created Heaven? Modern science tells us that? Or How come SEVEN firmaments (layers)? Modern science tells us that, actually there is no such thing Sky is no “roof” over us. It is only a space with no known boundary at all. These verses simply reinforce the ancient idea of ROOF over us which is called SKY, is it not so? How funny!