Masjid al-Ijabah: The Mosque of the Prophet’s ﷺ Three Supplications
Ziyarat

Masjid al-Ijabah: The Mosque of the Prophet’s ﷺ Three Supplications

Masjid al-Ijabah is the mosque of Banu Mu‘awiyah where the Prophet ﷺ prayed and asked Allah for three things for his ummah, as reported by Muslim. Learn its story and how to visit.

Updated 28 November 2026Reviewed by the UmraHajj travel team

Masjid al Ijabah (Masjid al-Ijabah), “the Mosque of the Answer”, stands about 1 km north-east of Masjid an-Nabawi, a short distance beyond Jannat al-Baqi. It marks the place where the Prophet ﷺ prayed in the mosque of the Banu Mu‘awiyah clan and asked his Lord for three things for his ummah, two of which were granted.

Masjid al Ijabah today is modern and modest, and many pilgrims pass it without knowing its story. A short stop here, with the hadith in mind, is a powerful reminder of the Prophet’s ﷺ care for his followers.

A mosque in Madinah, typical of the view on the way to Masjid al Ijabah
Masjid al Ijabah is a small neighbourhood mosque north of al-Baqi, rebuilt in modern times.

The history of Masjid al Ijabah

In the time of the Prophet ﷺ, this area belonged to Banu Mu‘awiyah ibn Malik, a clan of the Ansar from the tribe of Aws. They had their own small mosque, and for this reason it is also known as the Mosque of Banu Mu‘awiyah.

The hadith of the three supplications

Sa‘d ibn Abi Waqqas reported that the Prophet ﷺ came one day from al-‘Aliyah, the higher ground of Madinah, and passed by the mosque of Banu Mu‘awiyah. He entered and prayed two rak‘ahs, and the Companions prayed with him. Then he made a long supplication to his Lord, turned to them and said:

“I asked my Lord for three things. He granted me two and withheld one from me. I asked my Lord not to destroy my ummah by famine, and He granted me that. I asked Him not to destroy my ummah by drowning, and He granted me that. And I asked Him not to let their strife be among themselves, and He withheld that from me” (Muslim).

From this answer the mosque later took its name, al-Ijabah, meaning “the response” or “the answer”.

The meaning of the hadith

Scholars explain that the ummah as a whole will not be wiped out by a general famine or a flood, as some earlier nations were. The third request, that Muslims would not fight among themselves, was not granted, which is why the Prophet ﷺ warned so often against division and bloodshed. Related narrations from other Companions, such as Khabbab ibn al-Aratt in at-Tirmidhi and an-Nasa’i, describe three requests in different words, and they too mention that the request about strife among Muslims was withheld.

The building you see today is a modern reconstruction. The original structure of palm trunks and mud brick disappeared long ago, and Masjid al Ijabah has been rebuilt and expanded several times over the centuries.

Masjid al Ijabah: what is from the Sunnah (and what is not)

It is authentic that the Prophet ﷺ prayed and supplicated in this mosque. However, he did not tell his Companions to visit it, and no hadith gives a special reward for praying or making dua there. For that reason, most scholars regard a visit as permissible but not a Sunnah ziyarat in the way that praying at Masjid Quba is.

Some later writers encouraged visitors to make dua at Masjid al Ijabah in hope of an answer, because of its name. Scholars differ on this, and the stronger view is that a mosque’s name does not give dua there a special status. Dua is answered by Allah wherever it is made sincerely, and the times of acceptance taught in the Sunnah, such as the last third of the night, between the adhan and iqamah, and while in sujud, matter far more than a particular building.

What to do and what to read at Masjid al Ijabah

If Masjid al Ijabah is open when you arrive, enter with your right foot and say the dua for entering a mosque:

Entering the masjidEnter Masjid al-Haram with your right foot

بِسْمِ اللهِ، وَالصَّلَاةُ وَالسَّلَامُ عَلَى رَسُولِ اللهِ، اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ

Bismillah, wa-s-salatu wa-s-salamu ‘ala rasulillah. Allahumma-ftah li abwaba rahmatik.

In the name of Allah, and peace and blessings be upon the Messenger of Allah. O Allah, open for me the doors of Your mercy.

Source: Muslim; Ibn Majah

Pray two rak‘ahs of greeting the mosque (tahiyyat al-masjid) before sitting, as the Prophet ﷺ taught (al-Bukhari and Muslim, from Abu Qatadah). You may then make any dua you wish. A fitting one, in the spirit of the hadith, is to ask Allah to unite the Muslims, protect them from fighting one another and forgive the whole ummah.

Before or after the visit, read the hadith of Sa‘d ibn Abi Waqqas in Sahih Muslim (Book of Tribulations and Portents of the Last Hour), and reflect on how the Prophet ﷺ spent his time making dua for people he would never meet.

How to get to Masjid al Ijabah from Masjid an-Nabawi

Walking: to reach Masjid al Ijabah on foot, leave Masjid an-Nabawi by the eastern gates, pass Jannat al-Baqi and head north along the main road on its northern side. The mosque is about 1 km from the Haram, a walk of around 15 minutes. Many visitors combine it with greeting the dead at al-Baqi after Fajr.

Taxi or ride-hailing: about 5 minutes outside peak traffic. Ask for Masjid al-Ijabah or Masjid Bani Mu‘awiyah. Bus: city routes run along the nearby main roads, and some ziyarat tours include a short stop here; check locally.

From Masjid al-Haram in Makkah, travel to Madinah first, around 2.5 hours by the Haramain train or 4 to 5 hours by road, then visit from your hotel.

Practical tips for visiting

Pair it with al-Baqi

Visit the cemetery after Fajr, then walk on to the mosque.

Go at prayer time

Smaller mosques may be locked between prayers. Joining a prayer is the surest way in.

Carry the hadith

Save the narration on your phone to read once you arrive.

Women’s section

Facilities for women may be limited in a small mosque; ask locally.

Mind the traffic

Cross the main roads only at signals and crossings.

Keep it short

Ten minutes is enough; return to Masjid an-Nabawi for the next prayer.

Masjid al Ijabah quick facts

CityMadinah
DistanceAbout 1 km north-east of Masjid an-Nabawi
Time neededAbout 10 minutes
Best timeMorning, or at a prayer time
DifficultyEasy
Also known asMasjid Bani Mu‘awiyah
SourceSahih Muslim, from Sa‘d ibn Abi Waqqas
Sunnah visit?No special virtue established; a permissible visit
Location

Masjid al-Ijabah

About 1 km north-east of Masjid an-Nabawi

Open in Google MapsNearby ziyarat
MadinahAdd Madinah to your UmrahNights near Masjid an-Nabawi, Rawdah permits and ziyarat — we include it in your proposal.Madinah city guide →

Read our Madinah city guide and the Madinah ziyarat guide for the Sunnah visits in the city. Masjid al Ijabah is close to Jannat al-Baqi and on the way to Mount Uhud and the Qur’an Printing Complex; plan a morning loop with the ziyarat route planner. See every site on the ziyarat hub. Rawdah visits are booked through the official Nusuk platform. For the rites themselves, see how to perform Umrah, or request a tailored quote.

Masjid al Ijabah: frequently asked questions

Why is it called Masjid al-Ijabah?

Because the Prophet ﷺ made dua there and Allah answered two of his three requests, as reported by Muslim from Sa‘d ibn Abi Waqqas. Ijabah means “answer” or “response”.

What were the three supplications?

That the ummah would not be destroyed by famine, nor by drowning, and that its strife would not be among itself. The first two were granted; the third was withheld.

Is dua answered more at Masjid al-Ijabah?

No special status for dua there is established in the Sunnah. Scholars differ on encouraging dua there, but the stronger view is that its name gives no extra guarantee.

Is there a reward for praying there?

No specific reward is reported. Praying there is like praying in any mosque, and a prayer in Masjid an-Nabawi is far greater.

Where exactly is the mosque?

About 1 km north-east of Masjid an-Nabawi, a short walk north of Jannat al-Baqi.

Is the mosque open all day?

It is reliably open at prayer times. Between prayers, smaller mosques may be closed, so check locally.

A Madinah ziyarat grounded in the Sunnah

Our guides share authentic narrations at each stop and keep your schedule around the prayers in Masjid an-Nabawi.

Get my tailored quote →
Chat with us