Abdullah bin Abbas reported,

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

Ibn Majah 3840

Hasan

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

عن ابن عباس قال

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

ابن ماجه 3840حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Supplication
Chapter
What the Messenger of Allah ﷺ sought refuge from
Numbering
Darussalam 3840
Ibn Majah 3840