Bulugh al-Maram 316
وَعَنْ أَبِي هُرَيْرَةَ - رضي الله عنه - قَالَ: قَالَ رَسُولُ اللَّهِ - صلى الله عليه وسلم: «إِذَا تَشَهَّدَ أَحَدُكُمْ فَلْيَسْتَعِذْ بِاللَّهِ مِنْ أَرْبَعٍ, يَقُولُ: اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ عَذَابِ جَهَنَّمَ, وَمِنْ عَذَابِ الْقَبْرِ, وَمِنْ فِتْنَةِ الْمَحْيَا وَالْمَمَاتِ, وَمِنْ شَرِّ فِتْنَةِ الْمَسِيحِ الدَّجَّالِ». مُتَّفَقٌ عَلَيْهِ. ⦗٩٤⦘ وَفِي رِوَايَةٍ لِمُسْلِمٍ: «إِذَا فَرَغَ أَحَدُكُمْ مِنَ التَّشَهُّدِ الْأَخِيرِ».
Abu Hurayrah, may Allah be pleased with him, said: The Messenger of Allah ﷺ said: "When one of you says the tashahhud, let him seek refuge with Allah from four things, saying: 'O Allah, I seek refuge with You from the punishment of Hell, from the punishment of the grave, from the trial of life and death, and from the evil of the trial of the False Messiah.'" Agreed upon. And in a narration of Muslim: "When one of you finishes the last tashahhud."