Masjid Quba is the oldest mosque in Islam, founded in 622 CE in the southern quarter of Madinah — about 3 km from the Prophet’s Mosque, reachable on foot along a dedicated walking trail or by a short taxi ride. It is open around the clock, entry is free, and no booking is needed. The gateway reality almost every visitor misses: it is the one mosque in Madinah where you can simply walk in on your own schedule — no permit, no slot, no ticket.
First 5 things to know
- Oldest mosque in Islam. Founded 622 CE, in the quarter of Bani Amr bin Awf — the first mosque of the Prophet’s (pbuh) era.
- Open 24 hours, 7 days. No closing time, no maintenance windows.
- Free, no booking, no ticket. Sites that list “tickets” are selling tour packages — there is no entry fee (and no free permit to chase, unlike the Rawdah).
- The 2-rak’ah reward. Two rak’ah prayed here carries reward “like an Umrah” (sahih hadith) — Sunnah, not an obligation.
- ~3 km from the Prophet’s Mosque. A 35–50-minute walking trail along Quba Avenue, or a 10–15-minute taxi from central Madinah.
What is Masjid Quba and why is it important?
Masjid Quba is the oldest mosque in Islam, founded 622 CE in the quarter of Bani Amr bin Awf — the Prophet’s (pbuh) first stop after his migration to Madinah. The Qur’an references it in Surah At-Tawbah (9:108) as “a mosque founded on righteousness from the first day.” The building visitors see today is a modern landmark — a white-domed contemporary structure by architect Abdul-Wahid El-Wakil, with capacity for roughly 20,000 worshippers.
It is a working mosque first and a tourist site second: visitors are equally likely to find quiet reflection in the shaded courtyards or a full house during prayers.
What is the reward for praying at Masjid Quba?
A well-known sahih hadith states that the reward for praying two rak’ah at Masjid Quba is like an Umrah. The Prophet (pbuh) also visited the mosque every Saturday — riding or on foot — and many visitors still keep that habit, arriving Saturday after Fajr.
- Sunnah, not a rite. This is a recommended, optional visit — not one of the pillars of Hajj or Umrah. It does not count toward, or against, your Umrah.
- Two rak’ah is the tradition. Most visitors pray the two-rak’ah Sunnah of greeting the mosque. No other specific prayers are required or invented here.
- Wudu at home first. The Sunnah is to make wudu at your accommodation before arriving, rather than at the mosque — a small habit worth knowing so you don’t miss the point of the reward.
When is the best time to visit Masjid Quba?
- Early morning after Fajr — cool, quiet, and the classic window for visitors.
- Saturday mornings — most spiritually charged, because it mirrors the Prophet’s (pbuh) weekly Sunnah visit.
- After Maghrib — the heat has dropped and the courtyards are pleasant.
- Least crowded: mid-morning on weekdays.
- Avoid Friday midday — capacity crowds for Jumu’ah.
- Ramadan evenings — noticeably busy.
A focused visit takes 20–30 minutes; a full, unhurried exploration of the compound and courtyards can stretch to 1–1.5 hours.
Is Masjid Quba free? Do you need a booking?
Yes to all three, in the good way: free entry, no booking, no ticket, open 24/7. This is the honest answer that kills the “ticket” confusion — several travel-agency listings show Quba “tickets,” but those are tour packages (transport + guide), never an entry fee. There is no Nusuk permit, no QR code, no slot window. Unlike the Al-Rawdah inside the Prophet’s Mosque, Quba requires nothing to walk in.
What’s on site: separate wudu and toilet facilities for men and women · accessible toilets and amenities · ramps, elevators, escalators and wheelchair-friendly paths · shaded courtyards · Zamzam water points.
How do you get to Masjid Quba?
Three ways from central Madinah, all ~3 km (folded: madinah to quba mosque):
- Walking trail — ~35–50 minutes. A dedicated pedestrian route runs along Quba Avenue between the Prophet’s Mosque and Quba. Doable, flat, and the most atmospheric option in the cooler months (November–February).
- Bus / electric shuttle. A dedicated bus and electric-shuttle route links the two mosques. The fare varies by season — check on the day; we deliberately don’t quote it here because pricing is set by the operators.
- Taxi — ~10–15 minutes from central Madinah (traffic-dependent). The dependable option, especially in summer heat or with luggage.
For arrivals, the full transfer picture lives on the money pages: Madinah airport → city (~15 km / 25–30 min from Prince Mohammad Bin Abdulaziz Airport) and the Madinah taxi service page for a fixed-price sedan with a waiting driver — book one for a Quba visit and the driver holds the spot while you pray.
Can non-Muslims visit Masjid Quba?
Quba sits outside the Haram boundary, and the city of Madinah itself is open to non-Muslim visitors — the restricted zone is the Prophet’s Mosque and its immediate Haram courtyards, clearly marked. For the mosque buildings themselves, access follows each site’s own policy: outside the Haram zones, some mosques accept respectful non-Muslim visitors outside prayer times — always ask permission on arrival, and never enter during congregational prayer. [VERIFY against official phrasing at build — nusuk.sa / visitsaudi (content-critical flag, research A5.1); do not overstate either way.]
The grounds, courtyards, and exterior with the white domes can be appreciated from the perimeter — the trail approach itself is open to everyone.
FAQs: Masjid Quba
Is Masjid Quba the oldest mosque in the world? It is the oldest mosque in Islam, founded in 622 CE. The current white-domed building is a modern structure by architect Abdul-Wahid El-Wakil, with capacity for roughly 20,000 worshippers.
Is Masjid Quba free? Do I need a booking? Free, 24/7, no booking and no ticket. Listings that show “tickets” are tour packages (transport + guide), not entry fees.
How long should I spend at Masjid Quba? 20–30 minutes for a focused visit; up to 1–1.5 hours for a full stroll through the courtyards and facilities.
What is the best time to visit Masjid Quba? Early morning after Fajr, or after Maghrib; Saturday mornings are the traditional (Sunnah) visit. Avoid Friday midday. Least crowded on weekday mid-mornings.
How far is Masjid Quba from Masjid an-Nabawi? About 3 km — a 35–50-minute walk along Quba Avenue, or a 10–15-minute taxi ride.
Can non-Muslims visit Masjid Quba? Madinah is open to non-Muslim visitors and Quba is outside the Haram boundary. Mosque-building access follows each site’s own policy — ask permission on arrival; the trail, grounds and exterior are open to all. [VERIFY — official phrasing at build.]
Do I need a Nusuk permit for Masjid Quba? No. Quba has no permit system — unlike the Al-Rawdah inside the Prophet’s Mosque, where a free Nusuk permit (booked via the app, QR-activated 2 hours before) is required.
- Next stop — the Prophet’s Mosque: Masjid an-Nabawi Guide (hours, gates, Rawdah permit)
- Full ziyarat day loop: Places to Visit in Madinah & Ziyarat
- When to travel: Madinah Weather & Best Time
- Book your Quba visit: Madinah taxi service · Madinah airport → city
Sources: visitsaudi.com official Madinah attractions listing (A), alharamain.gov.sa (A), nusuk.sa (A), visitmadinahsa.com (B), audiala Quba guide (B, verified Apr 2026), aqdastravel (B, 2026-08-24), trip.com (B, 2026-08-24), almaqam (B, 2026-06-19). Facts logged in RESEARCH_madinah-visitor-essentials_2026-09-20.md A2 with verification ledger A6.