What the Quran says:
Telling of the seven layers of the Heavens and the Earth, God says in the Holy Quran:
1- He (Allah) Who created the seven heavens one above the other ? [Al Mulk: 3]
2- Allah is He Who created seven heavens and the earth the like of them ? [ Al Talaaq: 12]
The first verse is talking about two characteristics of the heavens; their number, that is seven, and the arrangement of them (one above the other) or 'in layers'. The second verse asserts the similarity between the Earth and the heavens (And the Earth the like of them), so as the heavens consist of seven layers, the earth identically consists of seven layers.
Let's ponder on (one above the other). It denotes the layering of the Earth, and this is what today's scientists discovered. Now we can see that the Quran had determined the structure of the Earth, which is in layers, and had also determined the number of these layers, that is seven. In other words, the Quran had given a precise description of the earth's interior, thus it preceded the scientists of the twenty-first century by fourteen centuries in proving this fact. Isn't this a splendid miracle of the Quran?
Its a scientific fact that the earth has 5 layers. No one has ever said there was 3.
The crust, the outer mantle, the inner mantle, the outer core, and the inner core.