Abdullah bin Abbas reported,

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

Nasai 5514

Sahih

أخبرنا قتيبة عن مالك عن أبي الزبير عن طاوس

عن عبد الله بن عباس

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

النسائي 5514صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Seeking refuge
Chapter
Seeking refuge from the trial of death
Numbering
Darussalam 5514
Nasai 5514