The Messenger of Allah ﷺ said, "Seek refuge in Allah from the punishment of Hell, seek refuge in Allah from the punishment of the grave, seek refuge in Allah from the trial of the false messiah, the Dajjal, and seek refuge in Allah from the trials of life and death."
حدثنا أبو كريب حدثنا أبو معاوية عن الأعمش عن أبي صالح
قال رسول الله ﷺ استعيذوا بالله من عذاب جهنم واستعيذوا بالله من عذاب القبر استعيذوا بالله من فتنة المسيح الدجال واستعيذوا بالله من فتنة المحيا والممات
[Sahih]. Bukhari also reported it in Adab al-Mufrad, no. 648, from the hadith of Abu Muawiya Dareer, with the same wording. The hadith has corroborating narrations in Bukhari and Muslim, no. 590 and 587, and elsewhere.