Sahih al-Bukhari Book 65, Hadith 324
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)
One day the Prophet (ﷺ) ascended Safa mountain and said, "Oh Sabah! " All the Quraish gathered round him and said, "What is the matter?" He said, Look, if I told you that an enemy is going to attack you in the morning or in the evening, would you not believe me?" They said, "Yes, we will believe you." He said, "I am a warner to you in face of a terrible punishment." On that Abu Lahab said, "May you perish ! Is it for this thing that you have gathered us?" So Allah revealed: 'Perish the hands of Abu Lahab!...' (111.1)
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).