Tafsir of verse 18
Al-Mukhtasar
O Messenger, do you not know that to Allah prostrate, out of obedience, the angels in the heavens and the believing humans and jinns on earth, and the sun, moon, stars in the sky, the mountains, trees, and creatures on earth, compliantly? And many humans prostrate to Him out of obedience. But many refuse to prostrate to Him out of obedience, thus the punishment of Allah became established for them due to their disbelief. Whoever Allah decrees disgrace and shame for, due to his disbelief, has nobody to honour him. Allah does what He wishes. There is nobody to compel Him.
Tafsir of the whole Surah Al-Hajj
Other translations of verse 18
Do you not see that to Allah prostrate10 all those who are in the heavens and all those on earth: the sun, the moon, the stars, the mountains, the trees, the moving creatures, and many humans? But there are many to whom the punishment has become due11. Whoever Allah disgraces, none can honor him. Allah surely does what He wills.
Notes
[10] i.e., all things submit to Allah's Will.
[11] Because they did not submit to Allah's Will.
See you not that whoever is in the heavens and whoever is on the earth, and the sun, and the moon, and the stars, and the mountains, and the trees, and Ad-Dawâbb [moving (living) creatures, beasts], and many of mankind prostrate themselves to Allah. But there are many (men) on whom the punishment is justified. And whomsoever Allâh disgraces, none can honour him. Verily, Allâh does what He wills.
Hast thou not seen that unto Allah payeth adoration whosoever is in the heavens and whosoever is in the earth, and the sun, and the moon, and the stars, and the hills, and the trees, and the beasts, and many of mankind, while there are many unto whom the doom is justly due. He whom Allah scorneth, there is none to give him honour. Lo! Allah doeth what He will.
Seest thou not that to Allah bow down in worship all things that are in the heavens and on earth,- the sun, the moon, the stars; the hills, the trees, the animals; and a great number among mankind? But a great number are (also) such as are fit for Punishment: and such as Allah shall disgrace,- None can raise to honour: for Allah carries out all that He wills.
Do you not see that Allah is He, Whom obeys whoever is in the heavens and whoever is in the earth, and the sun and the moon and the stars, and the mountains and the trees, and the animals and many of the people; and many there are against whom chastisement has become necessary; and whomsoever Allah abases, there is none who can make him honorable; surely Allah does what He pleases.
Have you not seen that to Allah prostrate themselves whoever are in the heavens, and whoever are in the earth, and the sun, and the moon, and the stars, and the mountains, and the trees, and (all) beasts and many of mankind? And to many torment will (come) true; and whomever Allah degrades, then none will honor him. Surely Allah performs whatever He decides. A prostration is to be performed here