Dua for Tahiyyatul Masjid
3 Things to Know About Greeting the Masjid

The mosque is the house of Allah, and the believer enters it with reverence, beginning with a beautiful supplication and a prayer of greeting. When entering, the worshipper recites the dua for the mosque, asking Allah to open for them the doors of His mercy. Then, before sitting, they pray two units known as Tahiyyatul Masjid, the greeting of the mosque, honouring the sacred place with worship. The dua for Tahiyyatul Masjid, recited alongside this prayer of greeting, is a beautiful way to begin every visit to the house of Allah.
The Prophet Muhammad (pbuh) taught both the supplication for entering and leaving the mosque and the practice of praying two units upon entering. These acts express the honour the believer holds for the house of Allah and prepare the heart for worship within it. This guide explains the dua for Tahiyyatul Masjid and three things to know about greeting the mosque, so that the worshipper may enter the house of Allah in the beautiful manner the Prophet (pbuh) taught.
Entering the House of Allah
When entering the mosque, the worshipper first sends blessings upon the Prophet (pbuh), then recites the dua quoted above, asking Allah to open for them the doors of His mercy. This beautiful supplication acknowledges that the mosque is a place of mercy and blessing, and the worshipper seeks to enter it through the doors of the mercy of Allah. It sets the heart in a state of hope and humility upon entering the sacred house. This supplication, paired with the prayer of greeting, forms the heart of the dua for Tahiyyatul Masjid, through which the believer seeks the mercy of Allah the moment they step inside.

When leaving the mosque, the worshipper again sends blessings upon the Prophet (pbuh) and then asks Allah for His bounty, saying: O Allah, I ask You of Your favour. As the worshipper returns to the affairs of the world, they seek the provision and bounty of Allah, just as they sought His mercy upon entering. These two supplications frame the visit to the mosque with the mercy and favour of Allah, beautifying both entering and leaving His house.
اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ
Allahumma-ftah li abwaba rahmatik
O Allah open for me the doors of Your mercy
Three Things to Know About Greeting the Masjid
Greeting the mosque combines supplication with a prayer of honour. These three things help the worshipper enter the house of Allah well.
- Recite the dua for entering, asking Allah to open for you the doors of His mercy.
- Pray Tahiyyatul Masjid, two units of prayer to greet the mosque before sitting down.
- Recite the dua for leaving, asking Allah of His favour as you depart the house of Allah.
اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ
Allahumma inni as’aluka min fadlik
I ask You of Your favour and bounty
Honouring the Sacred Place
The dua for Tahiyyatul Masjid and the supplications for entering and leaving the mosque express the deep honour the believer holds for the house of Allah. By asking Allah to open the doors of His mercy upon entering, praying two units to greet the mosque, and seeking His favour upon leaving, the worshipper treats the sacred place with the reverence it deserves. These beautiful practices, taught by the Prophet (pbuh), turn every visit to the mosque into an act of worship and devotion.

These supplications pair naturally with the dua before salah as one prepares to pray, and the dua after salah. Together they help the worshipper honour the house of Allah and fill their worship with supplication.
The believer enters the house of Allah asking for the doors of His mercy to be opened. Learn the duas of salah with us on YouTube, where the supplications are recited aloud, on Instagram for a reminder to greet the mosque with prayer, and on Threads where readers share how they honour the house of Allah.
Frequently Asked Questions
The dua for entering the mosque is Allahumma-ftah li abwaba rahmatik, O Allah open for me the doors of Your mercy, recited after sending blessings upon the Prophet (pbuh). It seeks to enter the house of Allah through His mercy.
Tahiyyatul Masjid is the greeting of the mosque, two units of prayer the worshipper prays upon entering the mosque before sitting down. The Prophet (pbuh) taught that one should not sit until praying two units.
When leaving, the worshipper sends blessings upon the Prophet (pbuh) and says Allahumma inni asaluka min fadlik, O Allah I ask You of Your favour, seeking His bounty as they return to the world.
It is prayed upon entering the mosque, before sitting down. The Prophet (pbuh) taught that when one enters the mosque, they should pray two units before they sit.
Because the mosque is the house of Allah, and greeting it with two units of prayer honours the sacred place and prepares the heart for worship. It expresses the reverence the believer holds for the house of Allah.
The prayer of greeting and the supplications for the mosque are recommended Sunnah, not obligations. The dua for Tahiyyatul Masjid follows the beautiful practice of the Prophet (pbuh) and beautifies entering and leaving the house of Allah.
