Mosques
Mosques

Masjid Quba

مسجد قباء

Masjid Quba

Overview

Masjid Quba is the very first mosque built in the history of Islam, located in the southern outskirts of Madinah in the village of Quba. The mosque has undergone a stunning modern renovation that preserved its spiritual significance while creating a magnificent contemporary structure. Its white domes and minarets stand as a symbol of the earliest days of Islam.

Historical significance

The Prophet ﷺ laid its foundation stones upon his arrival in Quba during the Hijrah from Makkah in 622 CE, even before reaching the city center of Madinah. Allah references this mosque in the Quran as the mosque 'founded on piety from the first day' (Surah at-Tawbah 9:108). The Prophet ﷺ said that praying two rak'ahs in Masjid Quba is equivalent to performing an Umrah.

Did you know?

The Prophet ﷺ used to visit Masjid Quba every Saturday, sometimes walking and sometimes riding, to pray two rak'ahs there.

Hadith

Whoever purifies himself in his house, then comes to Masjid Quba and prays in it, will have a reward like that of Umrah.

Sunan an-Nasa'i 699, Ibn Majah 1412

Du'as

When entering a mosque

بِسْمِ اللَّهِ وَالصَّلَاةُ وَالسَّلَامُ عَلَى رَسُولِ اللَّهِ، اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ

Bismillāh, waṣ-ṣalātu was-salāmu ʿalā Rasūlillāh. Allāhumma iftaḥ lī abwāba raḥmatik

In the name of Allah, and peace and blessings be upon the Messenger of Allah. O Allah, open for me the gates of Your mercy.

When leaving a mosque

اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ

Allāhumma innī asʾaluka min faḍlik

O Allah, I ask You of Your bounty.

General supplication

رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ

Rabbanā ātinā fid-dunyā ḥasanah, wa fil-ākhirati ḥasanah, wa qinā ʿadhāb an-nār

Our Lord, give us good in this world and good in the Hereafter, and save us from the punishment of the Fire.

Nearby sites

MosquesMust visit

مسجد الجمعة

Masjid al-Jumu'ah, also known as Masjid al-Wadi or Masjid Atikah, sits along the route the Prophet ﷺ took from Quba to Madinah's city center. It is a modest yet historically important mosque set in a residential neighborhood between Quba and the Haram. The mosque marks a watershed moment in the communal worship practices of Islam.

Wells & GardensMust visit

بئر غرس

Bir Ghars is a historic well located in the Quba area of southern Madinah, known for its direct connection to the personal life of the Prophet ﷺ. The well has been preserved and marked for visitors, though water is no longer drawn from it. It sits in a quiet area surrounded by residential buildings near Masjid Quba.

Wells & Gardens

بئر عذق

Ethq Well is one of the lesser-known prophetic wells of Madinah, situated in the area south of the city center. It is associated with the Prophet's arrival in Madinah during the Hijrah and represents one of his earliest interactions with the landscape of his new home. The well is in a quiet area that sees fewer tourists than the more famous wells.