Sunan Ibn Majah, hadith 773
Narrated by Abu Hurairah. Arabic text with our own translation and explanation.
From Ibn Majah back to the Prophet ﷺ
- 1Muhammad ibn Bashsharnarrated it to Ibn Majahمُحَمَّدُ بْنُ بَشَّارٍ
- 2Abu Bakr al‑Hanafiأَبُو بَكْرٍ الْحَنَفِيُّ
- 3Ad‑Dahhak ibn Uthmanالضَّحَّاكُ بْنُ عُثْمَانَ
- 4Sa'id al‑Maqburiسَعِيدٌ الْمَقْبُرِيُّ
- 5Abu Hurayraأَبِي هُرَيْرَةَ
- 6The Messenger of Allah ﷺرَسُولُ اللَّهِ ﷺ
Order as it appears in the Arabic text of this narration. The names have been transliterated from Arabic into Latin script.
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, ask for Allah’s mercy, and when leaving, ask for protection.
A supplication asking Allah for His mercy, blessings, and guidance.
Satan, whom Allah’s judgment has removed from His mercy.
Classical scholars derive from this narration that supplications are recommended when entering and leaving the mosque. They emphasize that the visitor asks Allah for mercy upon entering and for protection from Satan upon leaving. Sending greetings upon the Prophet ﷺ is part of the etiquette mentioned.
- Say the transmitted supplication asking for Allah’s mercy when entering the mosque.
- Ask for protection from Satan when leaving the mosque.
- Make entering and leaving the mosque mindful moments of remembrance of Allah.
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.