History
On the Hijrah, the Prophet ﷺ first stopped at Quba, on the southern edge of Madinah, among the clan of Banu Amr ibn Auf. He founded a mosque there and prayed in it before moving on into the city. Reports differ on the length of his stay: one narration in Sahih al-Bukhari says ten nights, another says fourteen. Saudi sources describe Quba as the first mosque built in Islam, dating it to 622 CE.[4],[10],[9]
The mosque has been rebuilt many times. Umar ibn Abd al-Aziz added its first minaret in the early 700s CE. King Fahd enlarged it from about 1,600 m² to 13,500 m², reopening it in 1987. In 2022 a new expansion under King Salman was announced, aiming for a total of 50,000 m² and room for about 66,000 worshippers.[9]
Why it matters
Surah at-Tawbah 9:108 praises a mosque founded on piety from the first day, whose people love to purify themselves. A hadith graded sahih in Sunan Abi Dawud links that phrase to the people of Quba, who cleaned themselves with water. Another hadith, in Sahih Muslim, has the Prophet ﷺ pointing to his own mosque in Madinah when asked which mosque was founded on piety. Commentators have therefore connected the verse with both mosques.[1],[2],[3]
Sahl ibn Hunaif reported that the Prophet ﷺ said whoever purifies himself at home, then comes to Quba Mosque and prays there, receives a reward like that of an umrah. This is recorded in Sunan Ibn Majah 1412 and Sunan an-Nasa'i 699, both graded hasan by Darussalam on sunnah.com. Ibn Umar reported that the Prophet ﷺ went to Quba every Saturday, sometimes walking and sometimes riding, and prayed two rak'ahs there.[7],[8],[5],[6]
Visiting today
Quba is a working mosque where all five daily prayers are held, as well as Friday and Eid prayers. It lies about 3.5 km from Masjid Nabawi along a straight road first laid out in 1932. King Abdulaziz ordered that road built, and later Saudi kings renovated and enlarged the mosque itself.[9]