The Quba Mosque just outside Madinah, Saudi Arabia, is the first mosque ever built and the oldest mosque of Saudi Arabia. Its first stones were positioned by the prophet Muhammad (saw) on his emigration from the city of Mecca to Madinah and the mosque was completed by his companions. Muhammad (saw) spent more than 20 nights in this mosque after migrating.
According to Islamic tradition, offering 2 Raka'ahs of nafl prayers in the Quba Mosque is equal to performing one Umra.