1. Home
  2. Categories
  3. Jurisprudence and Juristic Principles

Hadith When any of you enters the mosque, let him send peace upon the Prophet and say: Allāhumma iftahli abwāba rahmatik (O Allah, open for me the gates of Your mercy)

عَنْ أَبِي هُرَيْرَةَ رَضيَ اللهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ:
«إِذَا دَخَلَ أَحَدُكُمْ المَسْجِدَ فَلْيُسَلِّمْ عَلَى النَّبِيِّ وَلْيَقُلْ: اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ، وَإِذَا خَرَجَ فَلْيُسَلِّمْ عَلَى النَّبِيِّ وَلْيَقُلْ: اللَّهُمَّ اعْصِمْنِي مِنْ الشَّيْطَانِ الرَّجِيمِ»، وَلِلْحَاكِمِ: «وَإِذَا خَرَجَ فَلْيُسَلِّمْ عَلَى النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ وَلْيَقُلْ: اللَّهُمَّ أَجِرْنِي مِنَ الشَّيْطَانِ الرَّجِيمِ».

Abu Hurayrah (may Allah be pleased with him) reported that the Messenger of Allah (ﷺ) said:
"When any of you enters the mosque, let him send peace upon the Prophet and say: Allāhumma iftahli abwāba rahmatik (O Allah, open for me the gates of Your mercy). And when he leaves, let him send peace upon the Prophet and say: Allāhumma i‘simni min ash-shaytān ar-rajīm (O Allah, protect me from the accursed devil)." In another narration by Al-Hākim: "When he leaves, let him send peace upon the Prophet (ﷺ) and say: Allāhumma ajirni min ash-shaytān ar-rajīm (O Allah, save me from the accursed devil)."

Hasan Narrated by Ibn Mᾱjah and Al-Hᾱkim Sunan Ibn Mājah - 773

Explanation

The Prophet (ﷺ) guided the Muslim, when entering the mosque, to send peace and blessings upon the Prophet (ﷺ) by saying: Allāhumma salli wa sallim ‘ala Muhammad (O Allah, send Your blessings and peace upon Muhammad), and then to say: Allāhumma iftahli abwāba rahmatik (O Allah, open for me the gates of Your mercy). And when he leaves, he should send peace upon the Prophet and say: Allāhumma i‘simni min ash-shaytān ar-rajīm (O Allah, protect me from the accursed devil). In another narration by Al-Hākim: And say: Allāhumma ajirni min ash-shaytān ar-rajīm (O Allah, save me from the accursed devil).

Benefits from the Hadith

  1. It is recommended to say this supplication upon entering the mosque and upon leaving it.
  2. This supplication is to be generally recited in all mosques, including the Sacred Mosque.
  3. The specific mention of mercy when entering and seeking protection from the devil when exiting: The one entering is engaged in what brings him closer to Allah and His Paradise, so it is fitting to mention mercy. When exiting, he ventures into the world with its distractions and preoccupations, so it is appropriate to ask Allah for protection and preservation from the devil.

View Translations

29 Language
UR اردو الأوردية
ID Indonesia الإندونيسية
BN বাংলা البنغالية
TR Türkçe التركية
RU Русский الروسية
BS Bosanski البوسنية
SI සිංහල السنهالية
HI हिन्दी الهندية
VI Tiếng Việt الفيتنامية
TL Tagalog تجالوج
KU Kurdî الكردية
HA Hausa الهوسا
PT Português البرتغالية
ML മലയാളം المليالم
TE తెలుగు التلغو
SW Kiswahili السواحيلية
TH ไทย التايلندية
AS অসমীয়া الأسامية
NL Nederlands الهولندية
GU ગુજરાતી الغوجاراتية
PRS دری الدرية
SR Српски الصربية
HU Magyar المجرية
KN ಕನ್ನಡ الكانادا
KA ქართული الجورجية
MK Македонски المقدونية
KM ភាសាខ្មែរ الخميرية
PA ਪੰਜਾਬੀ البنجابية
MR मराठी الماراثية