Sure Al-Kahf

18:17

۞ وَتَرَى ٱلشَّمْسَ إِذَا طَلَعَت تَّزَٰوَرُ عَن كَهْفِهِمْ ذَاتَ ٱلْيَمِينِ وَإِذَا غَرَبَت تَّقْرِضُهُمْ ذَاتَ ٱلشِّمَالِ وَهُمْ فِى فَجْوَةٍۢ مِّنْهُ ۚ ذَٰلِكَ مِنْ ءَايَٰتِ ٱللَّهِ ۗ مَن يَهْدِ ٱللَّهُ فَهُوَ ٱلْمُهْتَدِ ۖ وَمَن يُضْلِلْ فَلَن تَجِدَ لَهُۥ وَلِيًّۭا مُّرْشِدًۭا

Und du siehst die Sonne, wenn sie aufgeht, sich von ihrer Höhle zur Rechten wegneigen, und wenn sie untergeht, an ihnen zur Linken vorbeigehen, während sie sich darin in einem Raum befinden. Das gehört zu Allahs Zeichen. Wen Allah rechtleitet, der ist (in Wahrheit) rechtgeleitet; wen Er aber in die Irre gehen läßt, für den wirst du keinen Schutzherrn finden, der ihn den rechten Weg führt.

Tafsir 18:17

They thus fulfilled the instruction and Allah put them to sleep and protected them from their enemy. You - O one who looks at them - will see the sun when it rises from the east inclining away from their cave to the right of one entering it; and at the time of sunset it moves away from the cave towards the left but does not strike it directly. They are therefore in perpetual shade unaffected by the heat of the sun. They are in a wide space within the cave where the air they require reaches them. The abovementioned occurrences viz. their taking refuge in the cave, their being put to sleep, the sun’s deviation from them, the spaciousness in the cave and their salvation from their people are all wondrous acts of Allah that indicate His power. Whoever Allah guides to the path of guidance, such a person is rightly guided in reality. Whoever Allah forsakes and lets go astray, then you will never find anyone to help and guide him to the right path. This is because guidance is in Allah’s Hands and not in his.