كتاب الصلاة
2  
The Book of Prayer
Bulugh al-Maram 318
Narrated Abu Hurairah (RA):
Allah's Messenger (ﷺ) said: "When one of you finishes the (last) Tashahhud, he should seek refuge in Allah from four things by saying: 'O Allah I seek refuge in You against the punishment of Jahannam (Hell-fire), the punishment of the grave, the trial of life and death and the evil of the trial of Masih ad-Dajjal (Antichrist)."' [Agreed upon].
وَعَنْ أَبِي هُرَيْرَةَ ‏- رضى الله عنه ‏- قَالَ : قَالَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-{ إِذَا تَشَهَّدَ أَحَدُكُمْ فَلْيَسْتَعِذْ بِاَللَّهِ مِنْ أَرْبَعٍ , يَقُولُ : اَللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ عَذَابِ جَهَنَّمَ , وَمِنْ عَذَابِ اَلْقَبْرِ , وَمِنْ فِتْنَةِ اَلْمَحْيَا وَالْمَمَاتِ , وَمِنْ شَرِّ فِتْنَةِ اَلْمَسِيحِ اَلدَّجَّالِ } مُتَّفَقٌ عَلَيْهِ .‏ 1
Reference : Bulugh al-Maram 318
In-book reference : Book 2, Hadith 318
English translation : Book 2, Hadith 316
Bulugh al-Maram 318
In the narration of Muslim:
"When any of you finishes the last Tashahhud."
وَفِي رِوَايَةٍ لِمُسْلِمٍ : { إِذَا فَرَغَ أَحَدُكُمْ مِنْ اَلتَّشَهُّدِ اَلْأَخِيرِ } 1
Reference : Bulugh al-Maram 318
In-book reference : Book 2, Hadith 318
Hadith Text
Reference