Skip to content
Safety update Checked : 5 governments advise against travel to Saudi Arabia, or to reconsider it (Germany Dec 3, 2026, Canada Nov 23, 2026, France Nov 20, 2026, UK Nov 18, 2026, US Oct 22, 2026). Read our safety page
Saudi Wayfinder
Languages, EN

Quba Mosque (Masjid Quba) in Madinah

Quba Mosque (Masjid Quba) lies in the southwest of Madinah (Medina), 5 km from the Prophet's Mosque. The Saudi Ministry of Hajj and Umrah describes it as the first mosque built in the time of the Prophet, and says successive expansions have brought it to 13,500 m² with room for up to 25,000 worshippers. A 3.6 km pedestrian boulevard, Quba Avenue, links it to the Prophet's Mosque. No government source we read states a specific access rule for this mosque.

Access: what the sources say. No government source we read names Quba Mosque in its rules for non-Muslims. The Saudi Tourism Authority writes that “the holy city of Makkah is reserved for Muslim visitors only, while Al Madinah is open to all tourists”, but says nothing about the city’s mosques. The US Department of State says non-Muslims are forbidden to travel to “parts of” Madinah, without naming them; Germany says they may not enter “the holy pilgrimage sites in the country”; France names only the Prophet’s Mosque. Read visiting Madinah before planning a visit.

The mosque in brief

Madinah is the second holy city of Islam. The Saudi Ministry of Hajj and Umrah says millions of visitors come to the city each year for three mosques in particular: the Prophet’s Mosque, the Quba Mosque and the Qiblatain Mosque.

On its page of sites to visit in Madinah (read December 5, 2026), the ministry says Quba Mosque:

  • is located in the southwest of Madinah;
  • is the first mosque built during the era of the Prophet;
  • lies 5 km (about 3 miles) from the Prophet’s Mosque;
  • has seen several expansions, bringing its total area and facilities to 13,500 m², with a capacity of up to 25,000 worshippers.

The ministry also explains why Muslims visit it, quoting a saying of the Prophet that compares a prayer there to an Umrah. This guide reports that statement as the ministry’s own and gives no religious guidance.

Quba Avenue

The ministry describes Quba Avenue as a wide pedestrian boulevard linking the Prophet’s Mosque and Quba Mosque, designed to make access between them easier. It is 3.6 km (about 2.2 miles) long, reserved for pedestrians, with shops and cafes along the way.

We have not found a government source giving opening hours, shade or walking times for the avenue. Plan for the heat (see below).

Nearby sites listed by the ministry

Site What the ministry says
Bustan al-Mustazal A grove around the Athq Well, on the southwestern side of Quba Mosque, where the Ansar received the Prophet on his arrival from Makkah.
Qiblatain Mosque 4 km northwest of the Prophet’s Mosque, named after the change of the direction of prayer.
Madinah Museum In the former Hejaz Railway station, near the Anbariyah Mosque, with about 2,000 archaeological pieces.

What we could not find

The ministry’s pages give no opening hours, visitor rules, parking details or women’s prayer areas for Quba Mosque, unlike the detailed information it publishes for the Prophet’s Mosque. We have not found another Saudi government page on the mosque. We will add these points if an authority publishes them.

Visa, dress and photos

  • Visa: the Saudi Ministry of Foreign Affairs says a Muslim visitor on a tourist visa or an ETA may visit Makkah and Madinah and take part in religious activities. See our visa page.
  • Dress and behavior: Canada asks visitors to dress conservatively and behave discreetly, “especially in the holy cities” and in mosques. See the dress code.
  • Photos: Germany says filming and photography are banned in and around the two Holy Mosques (in Makkah and at the Prophet’s Mosque); it does not mention Quba. See taking photos.

Getting there, heat and safety

Madinah is served by Prince Mohammad bin Abdulaziz International Airport and by the Haramain train. The UK warns that summer temperatures in Saudi Arabia may exceed 50°C (122°F). Germany lists the Madinah region among those hit by drone and missile attacks since September 2026, and the UK advises against all but essential travel to the country. Read our safety page and our Madinah guide.

Frequently asked questions

Where is Quba Mosque?
In the southwest of Madinah, 5 km from the Prophet's Mosque, according to the Saudi Ministry of Hajj and Umrah. The two mosques are linked by Quba Avenue, a pedestrian boulevard of 3.6 km lined with shops and cafes.
How big is Quba Mosque?
The Saudi Ministry of Hajj and Umrah says that after several expansions its total area, facilities included, reached 13,500 m², with a capacity of up to 25,000 worshippers.
Can non-Muslims visit Quba Mosque?
We have not found a government source that addresses Quba Mosque specifically. The Saudi Tourism Authority says Madinah "is open to all tourists", without mentioning its mosques. France says the Prophet's Mosque is forbidden to non-Muslims, the US says non-Muslims are forbidden in "parts of" Madinah without naming them, and Germany says non-Muslims may not enter "the holy pilgrimage sites in the country".
Do I need a permit to visit Quba Mosque?
The Saudi Ministry of Hajj and Umrah does not mention a permit or booking for Quba Mosque on the pages we read. Permits it does describe concern Umrah in Makkah and Al-Rawdah Al-Sharifah in the Prophet's Mosque. The Saudi Tourism Authority asks religious travelers going to Makkah or Madinah to book Umrah or Ziyarah appointments on Nusuk, without naming Quba.