In the history of Islam, Masjid al-Quba is a unique masterpiece of tradition and aesthetics that has been a place of great significance for all devout Muslims since its construction to the present. Besides residents, this historical construction is a very emotional and of course touristic attachment for Muslims from all over the world who come to perform Hajj and Umrah.

The Location of Masjid al-Quaba

Masjid al-Quba is located in the city of Medina, Saudi Arabia, the holy birthplace of the Holy Prophet Muhammad (PBUH). This mosque is the first mosque built in the history of Islam, the foundation of which was laid by the Messenger of Allah (PBUH) during His migration from Mecca to Medina. Established in the area called Quba near the city of Medina, this mosque is about 320 kilometers north of Meccatul Mukarramah, and about 3.5 kilometers southeast of Masjid al-Nabawi.


Masjid al-Quba is named after a famous well called ‘Quba’ located beside this mosque. At that time, a settlement was formed around that well. And according to the name of that well, the settlement was known as the Thorp of Quba at that time. Later the mosque was named after that thorp. On the first day of Hijra, the Messenger of Allah (PBUH) himself directly participated in the historical construction of this mosque with His companions.

Qur’an about Masjid al-Quba

To harm the Muslim Ummah, creating separation among them, promoting disbelief, and harboring the hypocrites under the false pretext of distance, sickness, and old age some hypocrites in the vail of Muslims built a mosque called Masjid al-Jirar, far away from Masjid al-Quba. After building that mosque they also requested the Prophet (PBUH) to perform Salat in it. And not knowing about their evil intentions, He promised to perform Salat in it. However, before doing that Almighty Allah informed Him about their heinous plot through revelation and forbade Him to offer prayers there. And at the same time, the great Lord commended the piety and purity of the people of Quba and instructed Him to pray in the Masjid al-Quba instead. Allah Almighty says:

“(O Muhammad), you will never stand for prayer in that mosque (Masjid al-Jirar). Indeed, a mosque whose foundation (Masjid al-Quba) has been established on piety from its first day is suitable for you to offer prayer. There are people in it who love to be pure in the best form. and Allah loves the purer.”      [Surah At-Tawbah: 108]

Hadith about Masjid al-Quba

The history of the construction of the Masjid al-Quba and many events related to this mosque have been mentioned in various famous hadith books. Moreover, several hadiths related to the merits of offering prayers in this mosque have been narrated in various authentic sources.  For example, 9 hadiths related to Masjid al-Quba in Sahih al-Bukhari, 13 hadiths in Sahih al-Muslim, 6 hadiths in Malik Ibn Anas, and 2 hadiths in Sunan Abu Dawud Sharif are mentioned.  Besides, Ibn Majah Sharif also mentions hadith about Masjid al-Quba.

Virtues of Offering Prayer in the Masjid al-Quba

Numerous hadiths related to the virtues of offering prayers in Masjid al-Quba are mentioned in various famous and pure hadith books. For example, Sahih al-Bukhari and Sahih al-Muslim share that the Messenger of Allah (PBUH) used to come to Masjid al-Quba every Saturday. Narrated by Hazrat Ibn Umar (RA), the Messenger of Allah (PBUH) used to arrive at Masjid al-Quba on horseback or foot and offer two rak’ahs of prayer.

In a hadith of Tirmidhi Sharif, it is stated that the virtue of offering Salah in the Masjid Quba is equivalent to an Umrah. In a narration by Ibn Majah Sharif, the Messenger of Allah (PBUH) also stated that a person who takes ablution from his house well and comes to Masjid al-Quba and offers prayer will be given a reward equivalent to an Umrah. Therefore, it became a habit for the people of Medina to go to this mosque every Saturday from the time of the Prophet (PBUH). Even now they continue this practice.

Renovation of Masjid al-Quba

Since its construction, the mosque has been renovated several times. After the death of the Prophet (PBUH), His son-in-law Hazrat Uthman RA, the third Caliph of Islam, renovated Masjid al-Quba for the first time. Umar bin Abdul Aziz completed the renovation and reconstruction of this mosque for the second time after Hazrat Uthman RA. Then in 435 Hijri, Abu Yali al-Husseini renovated the mosque and established the mihrab for the first time. After that, Masjid al-Quba was renovated and rebuilt several times. Ottoman Sultan Abdul Majid made a valuable contribution to the renovation and reconstruction of Masjid Qubar for the last time in 1245 Hijri. Then in 1986, Saudi King Fahd bin Abdul Aziz expanded the perimeter of the mosque and used a special type of rare white stone for the walls of the entire mosque.

Aesthetic Beauty

The main attraction of Masjid al-Quba with an area of about thirteen and a half thousand square meters is its four high minarets and a huge dome. In addition to the large dome on one side of the roof, there are five other relatively smaller domes. In addition, the shape of 56 domes on the other side of the roof made the mosque more beautiful. The green palm trees around the mosque compound add to its beauty.

Apart from the central mosque, there are residential areas, ablutions, offices, shops, and a library. Part of the north side of the mosque is reserved for women. Entrance and prayer areas for women and men are completely separate. There are 7 main entrances and 12 supplementary entrances. Several powerful air conditioners are used to cool the mosque. Altogether, about twenty thousand Muslims can pray together in this mosque.

Expensive and beautiful carpets are laid on the floor of the mosque to offer prayer. Besides, the elaborate and exquisite calligraphy on the wall of the mihrab and the chandeliers hanging overhead make the interior of the mosque more attractive and decorative. Several memorials outside the Masjid al-Quba have been beautifully inscribed with verses from the Qur’an and hadiths about the mosque.

More on History and Heritage:

The Story of Mother Halima

The Story of Mother Halima

 What Happened to Mother Halima After Adopting Muhammad (PBUH)   Prophet Muhammad (PBUH) was then only a ten-day-old baby. At that time, to keep them safe from various diseases and adversities, the noble Arabs who lived in the city would entrust their babies to...

History of Al Ula in Islam

History of Al Ula in Islam

Al Ula, located in the southwest of the Medina of Saudi Arabia, is known to the world as an ancient historical city. Steeped in history and rich in monuments, artifacts, and inscriptions, this ancient city is now a center of interest for avid travelers. However, the...

History of Madain Saleh

History of Madain Saleh

Identity Madain Saleh (Cities of Saleh) or Hegra is commonly known to Muslims as Al-Hijr which means the land of stone. This archaeological site is one of the most attractive tourist parts of the historical Al Ula in Saudi Arabia. From the Holy Qur’an, we have known...

Al Ula –Historical Heritage of Saudi Arabia

Al Ula –Historical Heritage of Saudi Arabia

History of Foundation Al Ula is now one of the most attractive world heritages in the world. The capital of the ancient Dedanites is an old city in the Medina region of North-Western Saudi Arabia. This ancient walled city is full of stone houses and mud-brick. Al Ula...