Allah says: “He created the heavens and earth for a true purpose; He wraps the night around [yukawwir] the day and the day around the night” [az-Zumar 39:5]. The word yukawwir (translated here as “wraps around” means to make something round, like a turban. It is well-known that night and day follow one another on earth, which implies that the Earth is round, because if you wrap one thing around another thing, and the thing that it is wrapped around is the Earth, then Earth must be round.
And the scholars are unanimously agreed that the earth is round, but to human eyes it appears to be flat, because it is very big and its roundness or curvature cannot be seen at close distances. So the one who stands and looks sees it as flat, but when viewed as a whole, in reality it is round.
Ibn Hazm (may Allah have mercy on him) said: The proofs of the Qur’an and Sunnah indicate that it is round.
The verse “And Allah has made for you the earth wide spread (an expanse)” [Nooh 71:19] indicates that it is spread out and shaped so that people can feel settled in it and be able to live and prosper in it.
Similarly, the verse “Have We not made the earth as a bed” [an-Naba’ 78:6] means that it is spread out and prepared for you and for your benefit, so that you can cultivate it, build dwellings in it and travel through it.
Ibn Katheer said: That is, it is prepared for people in such a way that they can live in it, and it is firm, stable and steady. Tafseer Ibn Katheer, 8/307
And the verse “And the earth we spread out, and placed therein firm mountains, and caused to grow therein all kinds of things in due proportion” [al-Hijr 15:19] means we spread it out and placed firm mountains therein. This is like the verse in which Allah says: “And it is He Who spread out the earth, and placed therein firm mountains and rivers” [ar-Ra‘d 13:3].
There is no contradiction between saying that it is round and saying that it was spread out, because in fact in its totality it is round, but to the one who stands on it and looks at it, it appears flat, as it appears to everyone.
From all the above evidences it’s clear that there is no contradictions between the verses in the Quran and the scientific discoveries.