The Messenger of Allah ﷺ said, "When one of you finishes the final tashahhud, let him seek refuge with Allah from four things, from the punishment of Hell, from the punishment of the grave, from the trials of life and death, and from the evil of the False Messiah, the Dajjal."
حدثنا أحمد بن حنبل حدثنا الوليد بن مسلم حدثنا الأوزاعي حدثني حسان بن عطية حدثني محمد بن أبي عائشة أنه سمع
قال رسول الله ﷺ إذا فرغ أحدكم من التشهد الآخر فليتعوذ بالله من أربع من عذاب جهنم ومن عذاب القبر ومن فتنة المحيا والممات ومن شر المسيح الدجال
Muslim narrated it in the Book of Mosques, chapter on seeking refuge from things during prayer, hadith no. 588, from the hadith of Walid bin Muslim, through this route. It is also found in Musnad Ahmad, 2/237, and see also hadith no. 880.