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 and the people see it, all who are upon the earth will believe. But that is the moment when 'no soul will benefit from its faith if it had not believed before'" [Anam 6:158].

Azami 186

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: لا تقوم الساعة حتى تطلع الشمس من مغربها، فإذا طلعت ورآها الناس آمن من عليها، فذاك حين {لا ينفع نفسا إيمنها لم تكن ءامنت من قبل} [سورة الأنعام: ١٥٨].

الأعظمي 186صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Faith
Chapter
Qualities of faith
Section
Declaration of the time when faith will not be accepted
Numbering
Jami al-Kamil 186 (2nd edition)
Azami 186