The duas for entering and leaving the mosque

Sahih Muslim 713a · narrated by Abu Humayd or Abu Usayd

حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا سُلَيْمَانُ بْنُ بِلاَلٍ، عَنْ رَبِيعَةَ بْنِ أَبِي عَبْدِ الرَّحْمَنِ، عَنْ عَبْدِ الْمَلِكِ بْنِ سَعِيدٍ، عَنْ أَبِي حُمَيْدٍ، - أَوْ عَنْ أَبِي أُسَيْدٍ، - قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا دَخَلَ أَحَدُكُمُ الْمَسْجِدَ فَلْيَقُلِ اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ . وَإِذَا خَرَجَ فَلْيَقُلِ اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ " . قَالَ مُسْلِمٌ سَمِعْتُ يَحْيَى بْنَ يَحْيَى يَقُولُ كَتَبْتُ هَذَا الْحَدِيثَ مِنْ كِتَابِ سُلَيْمَانَ بْنِ بِلاَلٍ . قَالَ بَلَغَنِي أَنَّ يَحْيَى الْحِمَّانِيَّ يَقُولُ وَأَبِي أُسَيْدٍ .

The Messenger of Allah ﷺ said: "When one of you enters the mosque, let him say: Allahummaftah li abwaba rahmatik, O Allah, open for me the gates of Your mercy. And when he leaves, let him say: Allahumma inni as'aluka min fadlik, O Allah, I ask You of Your bounty."

Collection
Sahih Muslim
Hadith number
713a · Book 6, Hadith 82
Book
The Book of Prayer · What to say when entering the masjid
Narrated by
Abu Humayd or Abu Usayd
Grade
Sahih

What this hadith teaches

The duas taught for entering and leaving the mosque.

English: Alif Meem's rendering of the meaning, not a published translation. Topic: Prayer, the mosque and the Mi'raj.

Cited on Alif Meem

More hadith on prayer, the mosque and the Mi'raj

All hadith