Abu Dharr reported,

The Prophet ﷺ said one day, "Do you know where this sun goes?"They replied, "Allah and His Messenger know best."He said, "It travels until it reaches its resting place beneath the Throne, where it falls in prostration. It remains like that until it is told, 'Rise and return from where you came,' so it returns and rises again from its place of rising. Then it travels until it reaches its resting place beneath the Throne, where it falls in prostration. It remains like that until it is told, 'Rise and return from where you came,' so it returns and rises again from its place of rising. Then it travels, and the people notice nothing unusual about it, until it reaches that resting place of its beneath the Throne. Then it is told, 'Rise and come up from your place of setting in the west,' so it rises from its place of setting in the west."Then the Messenger of Allah ﷺ asked, "Do you know when that will be? That will be when 'no soul will benefit from its faith, not having believed before, or earned good through its faith'" [Anam 6:158].

Muslim 399

Sahih

حدثنا يحيى بن أيوب وإسحق بن إبراهيم جميعا عن ابن علية قال ابن أيوب حدثنا ابن علية حدثنا يونس عن إبراهيم بن يزيد التيمي سمعه فيما أعلم عن أبيه

عن أبي ذر

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

مسلم 399صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Faith
Chapter
Declaration of the time when faith will not be accepted
Numbering
Darussalam 399
Muslim 399