Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Three things, when they appear, no soul will benefit from its faith if it had not believed before or earned good through its faith, the rising of the sun from its place of setting, the Dajjal, and the Beast of the Earth."

Azami 187

Sahih

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

قال رسول الله ﷺ: ثلاث إذا خرجن لا ينفع نفسا إيمانها لم تكن آمنت من قبل أو كسبت في إيمانها خيرا: طلوع الشمس من مغربها، والدجال، ودابة الأرض.

الأعظمي 187صحيح
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 187 (2nd edition)
Azami 187