Madinah Ziyarah · Site 3 of 17

Masjid Quba

مسجد قباءQuba Mosque Quba, south of Madinah

The first mosque established in Islam, where the Prophet ﷺ stayed on his arrival from Makkah.

Masjid Quba

Masjid Quba is one of the most historically significant mosques in Islam.

It is widely recognised as the first mosque established in Islam.

The arrival of the Prophet ﷺ

During the Hijrah from Makkah to Madinah, the Prophet ﷺ first stopped in the settlement of Quba.

He stayed there for several days before proceeding towards Madinah.

During this period, the mosque was established.

It became a place of prayer and a landmark associated with the beginning of the Muslim community in Madinah.

Qur'anic connection

The Qur'an refers to a mosque founded upon righteousness from its first day:

“A mosque founded upon righteousness from its first day.”

Qur'an 9:108

Many scholars identify this mosque as Masjid Quba.

Virtue of praying at Quba

The Prophet ﷺ regularly visited Masjid Quba.

An authentic narration states that whoever purifies himself at home and then comes to Masjid Quba and prays there receives a reward equivalent to that of an Umrah.

This is recorded in Sunan Ibn Majah and other hadith collections, with supporting narrations.

Practical advice

For visitors:

  • Make wudu before leaving the hotel if convenient.
  • Visit the mosque at a suitable time.
  • Pray two rak'ahs.
  • Avoid overcrowding.
  • Allow enough time for the visit.

This is one of the most recommended historical mosque visits during a stay in Madinah.