The Prophet ﷺ said, "Seek refuge in Allah from the punishment of the grave. Seek refuge in Allah from the trials of life and death. Seek refuge in Allah from the trial of the Dajjal."
أخبرنا قتيبة قال حدثنا سفيان ومالك قالا حدثنا أبو الزناد عن الأعرج
عن النبي ﷺ قال عوذوا بالله من عذاب القبر عوذوا بالله من فتنة المحيا والممات عوذوا بالله من فتنة المسيح الدجال
Reported by Muslim, Masajid, chapter on what one seeks refuge from during prayer, hadith no. 132/588, from the hadith of Sufyan bin Uyayna through this route, and it is also in al-Kubra, hadith no. 07945.