Open 24/7 · Makkah · Madinah · Jeddah
أهلاً وسهلاً بضيوف الرحمن
Masjid Quba
Madinah Ziyarat
مسجد قباء

Masjid Quba, Madinah: History, Virtues & Visiting Guide

Masjid Quba is the first mosque ever built in Islam. The Prophet ﷺ laid its foundations with his own hands when he reached Madinah during the Hijrah, and Allah praised it in the Qur'an.

By Zakarasma Tour & Taxi · Updated · 2 min read

Quick facts

Location
About 3.5 km south of Masjid an-Nabawi
Open
24 hours
Time needed
45–60 minutes
Best time
Saturday morning, following the Sunnah
Plan this Ziyarat
01 / 04

The first mosque in Islam

In 622 CE the Prophet ﷺ stopped at the village of Quba, just outside Madinah, before entering the city. During those days he founded this mosque, and the Muhajirun and Ansar helped him build it. Allah refers to it in the Qur'an: “A mosque founded on righteousness from the first day is more worthy for you to stand in” (At-Tawbah 9:108).

The present building, with its white domes and four slender minarets, was completed in the 1980s and has been expanded since, so it can welcome thousands of worshippers at once.

02 / 04

The reward of an Umrah

The Prophet ﷺ said: “Whoever purifies himself in his house, then comes to Masjid Quba and prays in it, will have a reward like that of an Umrah” (Sunan Ibn Majah, graded authentic). He ﷺ also used to visit Quba every Saturday, sometimes walking and sometimes riding, and pray two rak'ahs there (Sahih al-Bukhari & Muslim).

So make wudu at your hotel before you set off. That small step is part of the Sunnah.

03 / 04

What to do at Quba

  • Pray two rak'ahs of tahiyyat al-masjid.
  • Visit early on a Saturday to follow the Prophet's ﷺ practice.
  • Browse the date and souvenir shops around the mosque. Quba is famous for fresh Madinah dates.
04 / 04

Getting there

Quba is a short drive from the Prophet's Mosque. Some pilgrims also walk the pleasant pedestrian route that links the two mosques. Masjid Quba is the first stop on almost every Madinah Ziyarat tour. With Zakarasma it is included in the Madinah Ziyarat tour (250 SAR per vehicle), together with Qiblatain, Uhud and the Seven Mosques.

FAQ

Frequently asked questions

Is praying in Masjid Quba equal to Umrah?

The Prophet ﷺ said that whoever makes wudu at home and then prays in Masjid Quba gets a reward like that of an Umrah (Sunan Ibn Majah). It earns the reward; it does not replace the obligatory Umrah.

Is Masjid Quba open at night?

Yes, the mosque is open 24 hours.

How long does a visit to Quba take?

Most visitors spend 45–60 minutes, including prayer and a walk around the area.