Hadith on Dua: Supplication for refuge at the end of prayer

Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “When one of you finishes his testimony at the end of prayer, let him seek refuge in Allah from four trials, saying: O Allah, I seek refuge in you from the punishment of Hell, from the punishment of the grave, from the trials of life and death, and from the evil trial of the False Messiah.”

Source: Ṣaḥīḥ al-Bukhārī 1311, Ṣaḥīḥ Muslim 588

Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim

عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِذَا تَشَهَّدَ أَحَدُكُمْ فَلْيَسْتَعِذْ بِاللَّهِ مِنْ أَرْبَعٍ يَقُولُ اللَّهُمَّ إِنِّي أَعُوذُ بِكَ مِنْ عَذَابِ جَهَنَّمَ وَمِنْ عَذَابِ الْقَبْرِ وَمِنْ فِتْنَةِ الْمَحْيَا وَالْمَمَاتِ وَمِنْ شَرِّ فِتْنَةِ الْمَسِيحِ الدَّجَّالِ

1311 صحيح البخاري كتاب الجنائز باب التعوذ من عذاب القبر

588 صحيح مسلم كتاب المساجد ومواضع الصلاة باب ما يستعاذ منه في الصلاة