Abu Hurairah reported,

The Messenger of Allah ﷺ used to teach them this supplication just as he would teach them a surah from the Quran, "O Allah, I seek refuge in You from the punishment of Hell, I seek refuge in You from the punishment of the grave, I seek refuge in You from the evil of the Dajjal, and I seek refuge in You from the trials of life and death."

Ahmad 2342

Sahih

حدثنا إسماعيل بن عمر قال ثنا مالك عن أبي الزناد عن الأعرج

عن أبي هريرة

أن رسول الله ﷺ كان يعلمهم هذا الدعاء كما يعلمهم السورة من القرآن اللهم إني أعوذ بك من عذاب جهنم وأعوذ بك من عذاب القبر وأعوذ بك من شر المسيح الدجال وأعوذ بك من فتنة المحيا والممات

أحمد 2342صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 2342
Ahmad 2342