Quba Mosque holds a unique place in Islamic history as the first mosque ever built, founded by the Prophet Muhammad shortly after his migration (Hijrah) from Mecca to Madinah in 622 CE. Historical accounts state that the Prophet took part in laying its first stone and led the first prayer there once it was completed.
Why Muslims visit
A hadith attributed to the Prophet describes a special virtue for praying at Quba Mosque, stating that performing two rak'ahs there carries a reward comparable to that of an Umrah — a tradition that has led generations of Muslims to make a visit here a core part of their trip to Madinah. The mosque sits roughly 3.5 kilometers southeast of the Prophet's Mosque and is typically one of the first sites visitors head to after the Prophet's Mosque itself.
Visiting hours and etiquette
Quba Mosque is open to visitors around the clock except during prayer times, and there is no entry fee. Early morning or after-Asr visits are recommended to avoid crowds, particularly during Hajj and Umrah seasons. Modest dress is required: arms and legs covered for everyone, and a headscarf for women. Note that entry is reserved for Muslims, in keeping with the mosque's role as a place of worship.
Facilities
The mosque has been equipped with modern ablution facilities, prayer rugs, and separate spaces for men and women, with full attention to the religious and cultural sensitivities of visitors arriving from around the world.
Practical tip
Many visitors combine a trip to Quba Mosque with a visit to the nearby Masjid al-Qiblatain in a single outing by taxi or tour bus, since the two sites are a relatively short distance apart within Madinah.