۞ وَتَرَى الشَّمْسَ اِذَا طَلَعَتْ تَّزَاوَرُ عَنْ كَهْفِهِمْ ذَاتَ الْيَمِيْنِ وَاِذَا غَرَبَتْ تَّقْرِضُهُمْ ذَاتَ الشِّمَالِ وَهُمْ فِيْ فَجْوَةٍ مِّنْهُۗ ذٰلِكَ مِنْ اٰيٰتِ اللّٰهِ ۗمَنْ يَّهْدِ اللّٰهُ فَهُوَ الْمُهْتَدِ وَمَنْ يُّضْلِلْ فَلَنْ تَجِدَ لَهٗ وَلِيًّا مُّرْشِدًا ࣖ ( الكهف: ١٧ )
Wa tarash shamsa izaa tala'at tazaawaru 'an kahfihim zaatal yameeni wa izaa gharabat taqriduhum zaatash shimaali wa hum fee fajwatim minh; zaalika min Aayaatillaah; mai yahdil laahu fahuwal muhtad, wa mai yudlil falan tajida lahoo waliyyam murshidaa (al-Kahf 18:17)
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 Allah. He whom Allah guides is the [rightly] guided, but he whom He sends astray – never will you find for him a protecting guide. (Al-Kahf  : 17)
1 Mufti Taqi Usmani
You would see the sun, when it rose, turning away from their Cave towards the right; and when it set, it bypassed them towards the left, and they were (lying) in the hollow thereof. That is one of the signs of Allah.Whomsoever Allah guides is the one who gets the right path and whomsoever He lets go astray, for him you will find no one to help, no one to lead.