Sure Al-Anbiyaa

21:33

وَهُوَ ٱلَّذِى خَلَقَ ٱلَّيْلَ وَٱلنَّهَارَ وَٱلشَّمْسَ وَٱلْقَمَرَ ۖ كُلٌّۭ فِى فَلَكٍۢ يَسْبَحُونَ

Und Er ist es, Der die Nacht und den Tag, die Sonne und den Mond erschaffen hat; alles läuft in einer (jeweils eigenen) Umlaufbahn.

Tafsir 21:33

Allah alone is the One Who created the night for relaxation, created the day for earning one’s livelihood, created the sun as a sign of day, and the moon as a sign of night. The sun and moon both run in their specific orbits, without moving away or side-tracking.