Narrated Abu Dharr
Once I was with the Prophet (ﷺ) in the mosque at the time of sunset. The Prophet (ﷺ) said, "O Abu Dharr! Do you know where the sun sets?" I replied, "Allah and His Apostle know best." He said, "It goes and prostrates underneath (Allah's) Throne; and that is Allah's Statement:-- 'And the sun runs on its fixed course for a term (decreed). And that is the decree of All-Mighty, the All-Knowing....' (36.38)
Narrated Abu Dharr
I asked the Prophet (ﷺ) about the Statement of Allah:-- 'And the sun runs on fixed course for a term (decreed), ' (36.38) He said, "Its course is underneath "Allah's Throne." (Prostration of Sun trees, stars. mentioned in Qur'an and Hadith does not mean like our prostration but it means that these objects are obedient to their Creator (Allah) and they obey for what they have been created for).