Surely, your Lord is Allah who created the heavens and the earth in six days, then He positioned himself on the Throne. He covers the day with the night that pursues it swiftly. He created the sun and the moon and the stars, subjugated to His command. Lo! To Him alone belong the creation and the command. Glorious is Allah, the Lord of all the worlds.
And you see the mountains, thinking them rigid, while they will pass as the passing of clouds. [It is] the work of Allah , who perfected all things. Indeed, He is Acquainted with that which you do.
He created the heavens and earth in truth. He wraps the night over the day and wraps the day over the night and has subjected the sun and the moon, each running [its course] for a specified term. Unquestionably, He is the Exalted in Might, the Perpetual Forgiver.
Earth rotates once in about 24 hours with respect to the Sun, but once every 23 hours, 56 minutes and 4 seconds with respect to other distant stars (see below). Earth’s rotation is slowing slightly with time.
Read more: Earth’s rotation