The sun and the moon appear here as two signs of the Creator, made subservient to mankind for an appointed term. The verses describe each swimming in an orbit and serving to reckon time, the one giving radiance and the other light, and see in the impossibility of altering their course a proof of the Creator; they also mention Joseph’s dream and the People of the Cave.
Verses gathered from a topical index of the Quran, in Mushaf order; every verse is quoted in full.
And [had you been present], you would see the sun when it rose, inclining away from their cave on the right, and when it set, passing away from them on the left, while they were [lying] within an open space thereof. That was from the signs of Allāh. He whom Allāh guides is the [rightly] guided, but he whom He sends astray - never will you find for him a protecting guide.