Supplication on entering and leaving the mosque

الدعاء عند دخول المسجد والخروج منه

What is said on entering and leaving the mosque, as al-Nawawi gathers it in al-Adhkar: asking for the gates of mercy on entering and for God's bounty on leaving, from Sahih Muslim and the Sunan, and the plea for refuge related by Abu Dawud. 1

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Worship and the pillars

Summary

What is said on entering and leaving the mosque, as al-Nawawi gathers it in al-Adhkar: asking for the gates of mercy on entering and for God's bounty on leaving, from Sahih Muslim and the Sunan, and the plea for refuge related by Abu Dawud. 1

What al-Nawawi gathers in al-Adhkar

Al-Nawawi says it is recommended to seek refuge, give praise, ask blessing on the Prophet ﷺ, ask forgiveness and ask for the gates of mercy to be opened, then to say «بسم الله», entering with the right foot and leaving with the left, and on leaving to say «أبواب فضلك», the gates of Your bounty, in place of mercy 1. He reports from Abu Humayd or Abu Usayd that the Prophet said that one who enters the mosque should say «اللهم افتح لي أبواب رحمتك», and one who leaves, «اللهم إني أسألك من فضلك»; he says Muslim, Abu Dawud, al-Nasa'i and Ibn Majah relate it by sound chains 1. From Sunan Abi Dawud, from Abd Allah ibn Amr ibn al-As (may God be pleased with him), in a report he calls good with a strong chain: «أعوذ بالله العظيم وبوجهه الكريم وسلطانه القديم من الشيطان الرجيم», and whoever says it is kept from Satan for the rest of the day 1. From Ibn al-Sunni's book, from Abu Umama, what is said on leaving: «اللهم إني أعوذ بك من إبليس وجنوده» 2. He follows with a chapter on what is said inside the mosque, recommending much remembrance, recitation of the Qur'an and the study of hadith and law 2.

Connections

Explore the connections

Subject of
al-Adhkar al-Muntakhab

People and things also explored

Invoking blessings on the Prophet (al-salat 'ala al-nabi)· Eid al-Fitr· Istikhara (guidance prayer)· Nikah (marriage contract)· Friday congregational prayer· Al-hamd lillah (praise belongs to God)· Guarding the tongue· Visiting the sick (iyada)

Sources

  1. al-Nawawi, al-Adhkar, ed. Abd al-Qadir al-Arna'ut (Dar al-Fikr, Beirut, 1414/1994) , p. 31
  2. al-Nawawi, al-Adhkar, ed. Abd al-Qadir al-Arna'ut (Dar al-Fikr, Beirut, 1414/1994) , p. 32
Cite this page

islam.museum contributors. “Supplication on entering and leaving the mosque”. islam.museum, https://islam.museum/en/practice/dua-on-entering-and-leaving-the-mosque/. CC BY-SA 4.0. Last updated 2026-11-14.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Living

Practices, the Islamic year, festivals, food, dress and music by region.
Related

Invoking blessings on the Prophet (al-salat 'ala al-nabi)

Praying for the Prophet with blessing, peace and grace, as Ahmed Abdussalam explains it in the programme 'Osalli Alayh': for him the blessing means asking God to multiply His praise of His Prophet before the angels and His mercies on him; peace means keeping him safe in his life and after his death and keeping his religion safe; grace means placing the deeds of the community in the scale of his good deeds. He holds it obligatory on whoever hears the Prophet's name, and among its merits names God's tenfold blessing on the one who invokes it once, relief from worry and forgiveness of sins, and nearness to the Prophet on the Day of Resurrection for those who invoke it most.