Abu Dharr reported,

The Prophet ﷺ said one day, "Do you know where this sun goes?"They said, "Allah and His Messenger know best."He said, "It runs until it reaches its resting place beneath the Throne, then it falls down in prostration. It remains so until it is told, 'Rise, return from where you came.' So it returns and rises in the morning from its rising place. Then it runs until it reaches its resting place beneath the Throne, then it falls down in prostration, and it remains so until it is told, 'Rise, return from where you came.' So it returns and rises in the morning from its rising place. Then it runs, and the people notice nothing strange about it, until it reaches that resting place of its own beneath the Throne, and it is told, 'Rise, rise in the morning from your place of setting.' So it rises in the morning from its place of setting."Then the Messenger of Allah ﷺ said, "Do you know when that will be? That will be when "no soul will benefit from its faith if it had not believed before, or earned good through its faith. Say, wait. We too are waiting" [Anam 6:158]."

Azami 12776

Sahih

عن أبي ذر

أن النبي ﷺ قال يوما: أتدرون أين تذهب هذه الشمس؟ قالوا: الله ورسوله أعلم. قال: إن هذه تجري حتى تنتهي إلى مستقرها تحت العرش، فتخر ساجدة، فلا تزال كذلك حتى يقال لها: ارتفعي ارجعي من حيث جئت، فترجع، فتصبح طالعة من مطلعها، ثم تجري حتى تنتهي إلى مستقرها تحت العرش، فتخر ساجدة، ولا تزال كذلك حتى يقال لها: ارتفعي، ارجعي من حيث جئت، فترجع، فتصبح طالعة من مطلعها، ثم تجرى لا يستنكر الناس منها شيئا حتى تنتهي إلى مستقرها ذاك تحت العرش، فيقال لها: ارتفعي، أصبحي طالعة من مغربك، فتصبح طالعة من مغربها. فقال رسول الله ﷺ: أتدرون متى ذاكم؟ ذاك حين {لا ينفع نفسا إيمنها لم تكن امنت من قبل أو كسبت في إيمنها خيرا قل انتظروا إنا منتظرون}.

الأعظمي 12776صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Anbiya
Section
His saying, "Have you not seen those who left their homes in their thousands fearing death, and Allah said to them 'Die,' then He gave them life. Indeed Allah is full of bounty upon." His saying, "Have you not seen those who left their homes in their thousands fearing death, and He said," meaning that everything prostrates to Allah willingly or unwillingly, and the prostration of everything to Him, glorified be He, is in a manner specific to it that Allah the Most High knows, as He, glorified be He, said, "Have they not seen what Allah has created, how their shadows incline to the right and to the left, prostrating to Allah while they are humble?" [Surah Nahl, 48], and the Most High said, "Have you not seen that Allah is glorified by whoever is in the heavens and the earth, and the birds with wings spread? Each has known its prayer and glorification, and Allah is Aleem of what they do" [Surah Nur, 41]. It has come in the authentic hadith that the sun travels until it reaches its resting place beneath the Throne, then it falls prostrating to Allah عز وجل
Numbering
Jami al-Kamil 12776 (2nd edition)
Azami 12776