Abdullah bin Abbas reported,

The Messenger of Allah ﷺ used to teach them this supplication just as he taught them a surah from the Quran. He would say, "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 trial of the False Messiah Dajjal, and I seek refuge in You from the trials of life and death."

Ahmad 2709

Sahih

حدثنا إسحاق بن عيسى قال أخبرنا مالك عن أبي الزبير عن طاوس

عن ابن عباس

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

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