Quba Mosque

Mosque Earliest mosque in Islam, historical Medina landmark

Located just outside Medina, Quba Mosque is traditionally regarded as the first mosque in Islamic history; pilgrims visit for prayer and to see its historic site during visits to the region.

Main image

Quba Mosque is an early Islamic mosque located on the outskirts of Medina in Saudi Arabia and is traditionally regarded as the first mosque built by the Prophet Muhammad. It holds a prominent place in Islamic history and devotional practice.

The site is a functioning mosque that draws worshippers who come to pray and visit a place associated with the early Muslim community. Architecturally the mosque has been rebuilt and enlarged over time and presents a striking white exterior with domes and minarets.

According to Islamic historical sources, the original mosque at Quba was established in 622 CE during the Prophet’s migration to Medina; it has been reconstructed and expanded repeatedly since then. The site has remained an important religious landmark and place of visitation for Muslims.

Quba Mosque lies on the outskirts of Medina in the Medina Province, a short drive from the city’s central religious precincts, and is typically included on pilgrimage itineraries that visit sites around Medina.

  • Founding date: Considered the first mosque in Islamic tradition, it dates back to the time of the Prophet Muhammad and is a common site for pilgrimage visits from Medina.
  • Location note: The mosque sits a short distance from the central Prophet's Mosque in Medina and is reachable by road from the city's core, making it a common stop for pilgrims and visitors in Medina.
Quba Mosque
Quba Mosque (Qubat al-Khayr), Medina, Saudi Arabia
24.4392, 39.6172
Open 24 hours
Free; mosque open for Muslim worshippers (tourist access for non-Muslims generally restricted)

How to Get to Quba Mosque #

Quba Mosque is located on the outskirts of Medina. From central Medina (Al‑Masjid an‑Nabawi) it is a short taxi ride or served by local city buses; most visitors use taxis or ride-share for the direct trip.

If arriving by air, Medina’s Prince Mohammad bin Abdulaziz Airport is served by taxis and buses to the city, from which Quba Mosque is easily reached by a short onward taxi ride.

Tips for Visiting Quba Mosque #

  • Visit early in the morning or late afternoon to avoid the midday heat and the larger crowds around Friday prayers, when the mosque and its courtyard are busiest.
  • Include Quba Mosque as a short stop when touring Medina's historic sites-its simple architecture and decorative tiles are often missed by those rushing between the larger shrines.

Best Time to Visit Quba Mosque #

For comfort and lower crowds, go in the cooler months and avoid peak prayer times (Friday midday).

Cooler months
Nov-Feb · 18-30°C
Milder temperatures make visiting more comfortable; Friday prayers remain the busiest times.
Hot months
May-Sep · 30-45°C
Hotter weather; the mosque is active year-round-visit outside main prayer times or on weekdays for lower crowd levels.

Weather & Climate near Quba Mosque #

Climate

Quba Mosque's climate is classified as Hot Desert - Hot Desert climate with very hot summers (peaking in August) and mild winters (coldest in January). Temperatures range from 11°C to 43°C. Very dry conditions with minimal rainfall with a pronounced dry season.

Air Quality: AQI 160 Unhealthy
Best Time to Visit
OctoberFebruaryMarch
Temperature & Rainfall
Temperature Range
48°
Warmest Month
Coldest Month
Monthly Conditions

January

January is the coolest month with highs of 24°C and lows of 11°C. Almost no rain and mostly sunny skies.

95 Ideal

Comfort

18°
Feels Like Cool
18°C
Temperature
11° 24°
42%
Humidity
Comfortable

Weather

7 mm
Rainfall
2.6 m/s
Wind
Calm
1.1
UV Index
High
10.7h daylight

February

February is mild with highs of 27°C and lows of 13°C. Almost no rain and mostly sunny skies.

96 Ideal

Comfort

20°
Feels Like Mild
20°C
Temperature
13° 27°
37%
Humidity
Comfortable

Weather

2 mm
Rainfall
3.1 m/s
Wind
Light Breeze
1.5
UV Index
Very High
11.2h daylight

March

March is mild with highs of 30°C and lows of 16°C. Light rainfall and mostly sunny skies.

96 Ideal

Comfort

23°
Feels Like Mild
23°C
Temperature
16° 30°
28%
Humidity
Dry

Weather

13 mm
Rainfall
3.3 m/s
Wind
Light Breeze
2.0
UV Index
Extreme
11.9h daylight

April

April is warm with highs of 35°C and lows of 21°C. Light rainfall and mostly sunny skies.

96 Ideal

Comfort

28°
Feels Like Warm
28°C
Temperature
21° 35°
24%
Humidity
Dry

Weather

12 mm
Rainfall
3.4 m/s
Wind
Light Breeze
2.4
UV Index
Extreme
12.6h daylight

May

May is hot with highs of 40°C and lows of 25°C. Almost no rain and mostly sunny skies.

88 Excellent

Comfort

32°
Feels Like Hot
32°C
Temperature
25° 40°
18%
Humidity
Dry

Weather

6 mm
Rainfall
3.3 m/s
Wind
Light Breeze
2.6
UV Index
Extreme
13.2h daylight

June

June is hot with highs of 43°C and lows of 28°C. The driest month with just 0 mm and clear sunny skies.

90 Ideal

Comfort

36°
Feels Like Hot
36°C
Temperature
28° 43°
14%
Humidity
Dry

Weather

0 mm
Rainfall
3.2 m/s
Wind
Light Breeze
2.7
UV Index
Extreme
13.5h daylight

July

July is hot with highs of 43°C and lows of 28°C. The driest month with just 0 mm and mostly sunny skies.

90 Ideal

Comfort

35°
Feels Like Hot
35°C
Temperature
28° 43°
18%
Humidity
Dry

Weather

0 mm
Rainfall
3.3 m/s
Wind
Light Breeze
2.7
UV Index
Extreme
13.4h daylight

August

August is the hottest month with highs of 43°C and lows of 28°C. Almost no rain and mostly sunny skies.

88 Excellent

Comfort

36°
Feels Like Hot
36°C
Temperature
29° 43°
20%
Humidity
Dry

Weather

3 mm
Rainfall
3.1 m/s
Wind
Light Breeze
2.5
UV Index
Extreme
12.9h daylight

September

September is hot with highs of 42°C and lows of 27°C. Almost no rain and mostly sunny skies.

88 Excellent

Comfort

35°
Feels Like Hot
35°C
Temperature
27° 42°
17%
Humidity
Dry

Weather

1 mm
Rainfall
3.0 m/s
Wind
Light Breeze
2.1
UV Index
Extreme
12.2h daylight

October

October is hot with highs of 37°C and lows of 22°C. Almost no rain and clear sunny skies.

97 Ideal

Comfort

30°
Feels Like Hot
30°C
Temperature
22° 37°
23%
Humidity
Dry

Weather

3 mm
Rainfall
2.6 m/s
Wind
Calm
1.7
UV Index
Very High
11.5h daylight

November

November is mild with highs of 31°C and lows of 17°C. Light rainfall and clear sunny skies.

95 Ideal

Comfort

24°
Feels Like Mild
24°C
Temperature
17° 31°
37%
Humidity
Comfortable

Weather

15 mm
Rainfall
2.5 m/s
Wind
Calm
1.2
UV Index
High
10.8h daylight

December

December is mild with highs of 26°C and lows of 13°C. Almost no rain and mostly sunny skies.

95 Ideal

Comfort

20°
Feels Like Mild
20°C
Temperature
13° 26°
42%
Humidity
Comfortable

Weather

8 mm
Rainfall
2.6 m/s
Wind
Calm
1.0
UV Index
High
10.5h daylight

Nearby Attractions to Quba Mosque