Jami at-Tirmidhi, hadith 314
Narrated by Fatimah bint Muhammad. Arabic text with our own translation and explanation.
Narrated by Fatimah bint Muhammad
The narration
حَدَّثَنَا عَلِيُّ بْنُ حُجْرٍ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ، عَنْ لَيْثٍ، عَنْ عَبْدِ اللَّهِ بْنِ الْحَسَنِ، عَنْ أُمِّهِ، فَاطِمَةَ بِنْتِ الْحُسَيْنِ عَنْ جَدَّتِهَا، فَاطِمَةَ الْكُبْرَى قَالَتْ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم إِذَا دَخَلَ الْمَسْجِدَ صَلَّى عَلَى مُحَمَّدٍ وَسَلَّمَ وَقَالَ " رَبِّ اغْفِرْ لِي ذُنُوبِي وَافْتَحْ لِي أَبْوَابَ رَحْمَتِكَ " . وَإِذَا خَرَجَ صَلَّى عَلَى مُحَمَّدٍ وَسَلَّمَ وَقَالَ " رَبِّ اغْفِرْ لِي ذُنُوبِي وَافْتَحْ لِي أَبْوَابَ فَضْلِكَ " .
The translation in this language is coming soon; the explanation is provided below.
Translation and explanation by Khutba World, translated from Arabic.
When entering and leaving the mosque, ask Allah for forgiveness and favor.
Allah’s compassion and care through which He favors His servants.
Allah’s generosity and the good gifts He bestows.
Scholars infer from this narration that it is recommended to ask Allah for forgiveness both when entering and when leaving the mosque. On entering, one asks for mercy; on leaving, one asks for Allah’s favor. The narration also mentions invoking blessings upon the Prophet ﷺ on both occasions. The legal schools recognize such supplications as recommended etiquette; they differ over the exact wording and its legal emphasis.
- When entering the mosque, say the transmitted supplication and ask Allah for mercy.
- When leaving the mosque, ask for forgiveness and Allah’s favor.
- At both times, take a moment to remember Allah and invoke blessings upon the Prophet ﷺ.
This narration closely relates to the supplication for entering and leaving the mosque and helps compare its wording.
Jami' at-Tirmidhi · #316 (Sahih)This hadith addresses entering the mosque and thus provides a practical complement to the supplications in this narration.
A hadith every day, in your language
The app gives you a hadith with an explanation every day, also as a widget on your phone. Free to use.