Abu Hurairah reported,

The Messenger of Allah ﷺ said, "The Hour will not come until the sun rises from its place of setting. When it rises from the west, all people will believe. But on that day, 'no soul will benefit from its faith if it had not believed before or earned good through its faith'" [Anam 6:158].

Muslim 396

Sahih

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

عن أبي هريرة

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

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