Qubāʾ Mosque (Arabic:مسجد قباء) was the first mosque which was built by Prophet Muhammad (s). This mosque was mentioned in Qur’an 9:108-109.

Location

Quba mosque was built six kilometer off Medina in village of Quba, which is currently part of Medina. The name of the mosque is taken from the village which was named after a famous well, called Quba.

Entrance of The Prophet (s) and Building a Mosque

Before staying in Medina in the first year after Hijra, the Prophet Muhammad (s) accepted requests of people of Quba and ordered to build a mosque there. The Prophet (s) entered this village on twelfth or fourteenth of Rabi’ I, he stayed in Quba and helped Muslims to build the mosque in a week. In some sources it is mentioned that ‘Ammar b. Yasir proposed the idea of building a mosque in Quba; while some other sources stated that ‘Ammar played the main role in building Quba mosque which made him the first Muslim who built a mosque.

Features

The Prophet (s) said: “If a person perform wudu (ablution) in his house and say prayers in Quba mosque, the rewards of performing an Umra will be given to him.”

Prophet Muhammad (s) always mentioned the significance of Quba mosque. It is mentioned in a narration that after staying in Medina, Prophet Muhammad (s) visited Quba mosque every week on Saturdays in order to say prayers.

Rebuilding

Quba mosque was rebuilt and developed in the time of caliphate of Uthman b. Affan. The second vast rebuilding took place in the time of ‘Umar b. Abd al-‘Aziz and it remained unchanged so far.

In 555/1160, Jamal al-Din Isfahani, the minister of Mosul ordered to rebuild Quba mosque. It was also rebuilt and repaired in the eighth and ninth/fourteenth and fifteenth centuries. Quba mosque was later developed in the time of Ottomans and Saudi government. Nowadays it has several sections with domes built on their roofs.

Quba Mosque in the Qur’an

According to large number of interpreters of Qur’an, the mosque mentioned in Qur’an 9:108 is a reference to Quba mosque:

لَا تَقُمْ فِيهِ أَبَدًا ۚ لَّمَسْجِدٌ أُسِّسَ عَلَى التَّقْوَىٰ مِنْ أَوَّلِ يَوْمٍ أَحَقُّ أَن تَقُومَ فِيهِ ۚ فِيهِ رِجَالٌ يُحِبُّونَ أَن يَتَطَهَّرُوا ۚ وَاللَّـهُ يُحِبُّ الْمُطَّهِّرِينَ
“Do not stand in it ever! A mosque founded on Godwariness from the [very] first day is worthier that you stand in it [for prayer]. Therein are men who love to keep pure, and Allah loves those who keep pure.”

The 108th verse of Qur’an 9 expresses two features for Quba mosque: First Quba mosque is more worthy to say prayer there, and second there are men in this mosque who love to purify themselves.

Frequently Asked Questions

The Quba Mosque is situated six kilometers from the center of Medina in a village historically known as Quba. While it originated as a separate village named after a local well, urban growth has integrated it as a permanent part of the modern city of Medina today.
According to the teachings of Prophet Muhammad (s), the spiritual rewards are significant. He stated that if a person performs wudu or ablution at their own home and then travels to the Quba Mosque to offer prayers, they will receive the same reward as performing a full Umra pilgrimage.
Built during the first year after Hijra, the mosque was the first established by Prophet Muhammad (s). He stayed in the village for about a week to manually assist the local Muslims in construction. Historical sources also highlight the pivotal role of Ammar b. Yasir in proposing the idea.
Many interpreters agree that Qur'an 9:108 refers to this site as the mosque founded on Godwariness from the very first day. The verse emphasizes that it is a worthy place for prayer, occupied by people who love to purify themselves, which remains a key feature and distinction.