Dua for Leaving Masjid
When leaving the masjid, it is recommended to step out with the left foot first and to recite one of these prescribed duas.
Dua 1: Supplication for Leaving the Masjid
It is related from Abu Humayd, or Abu Usayd, I that the Messenger of Allah ﷺ said: “When he leaves [the masjid] he should say:”
| Reference | Muslim (713), Abu Dawud (465), Ibn Majah (772) |
Dua 2: Asking Allah to Open the Doors of His Bounty
Abdullah ibn al-Hasan reported from his mother, who reported from her grandmother M, that when the Messenger of Allah ﷺ left the mosque, he would praise Allah, mention His name, and then say:
| Reference | At-Tirmidhi (314), Ibn Majah (771), Ibn as-Sunni (86) |
Dua 3: Mentioning Allah and Sending Prayers Upon the Prophet ﷺ
Anas I reported that when the Messenger of Allah ﷺ entered or left the masjid, he would say:
| Reference | Ibn as-Sunni (87) |
Dua 4: Seeking Protection from Shaytan When Leaving the Masjid
Ibn as-Sunni adds in his narration that when someone leaves the masjid, he should send peace upon the Prophet ﷺ and then say:
| Reference | Ibn as-Sunni |
Dua 5: Seeking Protection from Iblis and His Armies
It is reported from Abu Umamah I that the Messenger of Allah ﷺ said: “When one of you leaves the mosque, the forces of Shaytan call out to one another and assemble, just as bees gather around their leader. So when a person stands at the doorway of the mosque, he should say: O Allah, I seek Your protection from Iblis and his armies. If he says this, they will not harm him.”
| Reference | Ibn as-Sunni (154) |
Dua 6: Complete Supplication for Leaving the Masjid
It is recommended to say the following comprehensive supplication when leaving the masjid, combining seeking protection from Shaytan, praising Allah, sending prayers upon the Prophet ﷺ, asking forgiveness, and asking Allah to open the doors of His bounty.
| Reference | Kitab al-Adhkar |