Open Travel Guide
  1. Home
  2. Destinations
  3. Saudi Arabia
  4. Al Madinah
  5. History
  6. Quba Mosque

History · Al Madinah, Al Madinah

Quba Mosque

  • Era622 CE; rebuilt many times, current building 1986
  • AdmissionFree
  • HoursOpen 24 hours

Quba Mosque stands in the Quba district of south Madinah, in Saudi Arabia's Al Madinah region, and is traditionally regarded as the first mosque in Islam. According to Islamic tradition, the Prophet Muhammad stopped at Quba in 622 CE during the Hijra from Makkah, before entering Madinah itself, and took part in laying the foundation of a place of prayer there.

The first mosque in Islam, founded in 622 on the Prophet's arrival in the Madinah area.

Quba Mosque stands in the Quba district of south Madinah, in Saudi Arabia's Al Madinah region, and is traditionally regarded as the first mosque in Islam. According to Islamic tradition, the Prophet Muhammad stopped at Quba in 622 CE during the Hijra from Makkah, before entering Madinah itself, and took part in laying the foundation of a place of prayer there. The Quran's reference to a mosque 'founded on piety from the first day' is commonly linked to Quba by Muslim scholars, which gives the site its lasting religious weight. The Prophet is reported to have returned to Quba regularly, often on Saturdays, and a visit with prayer is considered highly meritorious.

The building seen today is not the seventh-century structure. The mosque has been rebuilt and enlarged repeatedly through the Rashidun, Umayyad, Mamluk and Ottoman periods, and the present complex dates from a major reconstruction completed in 1986 under the Saudi state. It is built in light-coloured stone with a large prayer hall, an open courtyard, a raised women's prayer area, ablution facilities and four minarets. Its domes and colonnades follow a restrained traditional Islamic design, and the surrounding area has been landscaped with plazas and date palms, reflecting the farmland that once surrounded the village.

There is no museum-style display inside; the mosque is an active place of worship and the experience is devotional rather than curatorial. Visitors enter, pray two units of prayer and may sit in the courtyard. Because it functions as a working mosque, Muslims are expected to dress modestly and observe prayer etiquette. Access for non-Muslims to mosques in the Madinah area is governed by local rules, so travellers should check current guidance before visiting, as the Prophet's Mosque haram area is closed to non-Muslims while Quba has historically been treated more flexibly.

The mosque is open around the clock and is free to enter. It sits a short drive from the Prophet's Mosque and is a standard stop on ziyarat tours of Madinah's historic mosques. Crowds peak after Fajr, on Saturdays and during Ramadan and the Hajj and Umrah seasons, when organised groups arrive continuously. The state-led restoration and expansion programmes mean the fabric is in good condition, with air-conditioned interiors and clear signage in Arabic and English.

Practical information for Quba Mosque · Last updated September 2026
Admission Free
Hours Open 24 hours
Address Quba Road, Quba, Madinah

Why it matters

First mosque of Islam

Location

Quba Road, Quba, Madinah

24.4388, 39.6166 View on map

Highlights

  • Traditionally the first mosque in Islam, founded in 622 CE on the Hijra
  • Four minarets and a large courtyard in the 1986 stone reconstruction
  • Prayer here is held in high regard in Islamic tradition, especially on Saturdays
  • Open 24 hours with free entry, close to the Prophet's Mosque

Tips for visiting

  • Visit just after Fajr or in the evening to avoid the busiest crowds and midday heat.
  • Dress modestly and remove shoes at the entrance; shoe racks are provided.
  • Saturdays and Ramadan are the busiest times, so allow extra travel time.
  • Combine with nearby Masjid al-Qiblatayn and Mount Uhud on a half-day ziyarat tour.
  • Non-Muslim access rules can change, so check current guidance before going.

When to visit

Early morning after Fajr or after sunset is the most comfortable and least crowded; Saturdays and Ramadan are the busiest.

Accessibility

The 1986 complex has level access, ramps and wide entrances, and wheelchair users can reach the main prayer hall. Ablution and prayer areas are generally accessible, though crowds at peak times can limit movement.

Frequently asked questions

Is Quba Mosque free to enter?

Yes. There is no admission charge and the mosque is open 24 hours a day.

How long does a visit to Quba Mosque take?

Most visitors spend 30 to 60 minutes, including prayer and time in the courtyard.

Is the mosque the original 7th-century building?

No. The mosque has been rebuilt many times, and the current building dates from the 1986 reconstruction on the traditional site.

Can children visit Quba Mosque?

Yes, families visit regularly. Children should be supervised and dressed modestly, and the courtyard gives them room to move.