Then He directed Himself to the heaven while it was smoke and said to it and to the earth, "Come [into being], willingly or by compulsion." They said, "We have come willingly."
(Say: "Do you verily disbelieve in Him Who created the earth in two Days And you set up rivals with Him") meaning, `false gods whom you worship alongside Him'
ذَلِكَ رَبُّ الْعَـلَمِينَ
(That is the Lord of the that exists.) the Creator of all things is the Lord of all the creatures. Here the Ayah;
(Who created the heavens and the earth in Six Days) (7:54). is explained in more detail; the creation of the earth and the creation of the heaven are discussed separately. Allah says that He created the earth first, because it is the foundation, and the foundation should be built first, then the roof. Allah says elsewhere:
فَقَالَ لَهَا وَلِلْأَرْضِ ائْتِيَا طَوْعًا أَوْ كَرْهًا قَالَتَا أَتَيْنَا طَائِعِينَ (and said to it and to the earth, "Come [ to My obedience ], both of you, willingly or unwillingly." Both said, "We come willingly." - 41:11) This command addressed to the earth and sky and their compliant and obedient reply, according to some exegetes, is a metaphorical expression for the readiness of the earth and the sky to comply with every order from Allah Almighty. But Ibn ` Atiyyah and other leading research scholars have stated that this is no metaphor it is based on reality. Allah Almighty had endowed the earth and the skies with the faculty of intellect and comprehension of the commands addressed to them and also with the power of speaking and replying. Tafsir Al-Bahr-ul-Muhit, after quoting this explanation, has held it to be the most suitable and the best. Ibn Kathir, after quoting the above explanation, has also quoted the statement of some exegetes that the earth's reply was given by that portion of the earth on which Baytullah has been constructed and the sky's reply was given by that portion of the sky which is just above the Baytullah, known as Al-Bayt-ul- Ma` mur.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 8–11
Whenever the call for Truth is issued, it takes place at the level of human beings. But people are unable to understand how it is possible for a man to speak in the language of God, and therefore they deny his message. But God communicates his message through a human being. One who cannot see beyond the humanness of the prophet and recognise the divineness of the message delivered by him, must remain deprived of God’s guidance in the present world of trial. Only that belief in the Hereafter is reliable which is accompanied by a firm belief in the oneness of God and the giving of alms for the sake of God’s pleasure. One who truly finds God can never be held in thrall by the greatness of any other being. Similarly, one who truly finds God cannot prevent himself from spending his wealth for the cause of God. ‘So take the straight path to Him’ means ‘keep your worship purely for God’, i.e. your whole attention should be directed towards God; the sole object of your prayers and worship should be the one and only God; your entire thinking should become God-oriented. God’s perpetual blessings will be showered on those who conduct themselves in this way.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.