The Quba Mosque (Quba' Masjid or Masjid al-Quba, Arabic: مسجد قباء) just outside Medina, Saudi Arabia, is the first Islamic mosque ever built and the oldest mosque of Saudi Arabia. Its first stones were positioned by the prophet Muhammad on his emigration from the city of Mecca to Medina and the mosque was completed by his companions. Muhammad spent more than 20 nights in this mosque (after migrating) praying qasr (a short prayer) while waiting for Ali whose house was behind this mosque.
Masjid-al-Haram (Mecca), Masjid al-Nabawi (Medina) and Masjid-al-Aqsa (Jerusalem), are the holiest sites in Islam.
According to Islamic tradition, offering 2 Raka'ahs of nafl prayers in the Quba Mosque is equal to performing one Umra.
http://en.wikipedia.org/wiki/Quba_Mosque