The Quba Mosque (مَسْجِد قُبَاء) is located on the outskirts of Medina, Saudi Arabia. Initially, the mosque was built 9 kilometres off Medina in the village of Quba, before Medina expanded to include this village.
Al-Masjid an-Nabawī (ٱلْمَسْجِد ٱلنَّبَوِيّ) was first established when the Islamic prophet Muhammad arrived in the ancient city of Medina after Hijrah.
The Masjid al-Qiblatayn (مَسْجِد ٱلْقِبْلَتَیْن) is among the earliest mosques that date to the time of Adam, along with the Quba Mosque and Prophet's Mosque, considering that the Great Mosques of Mecca and Jerusalem.
Rashidunids
Abu Bakr Mosque (مسجد أبي بكر الصديق): It is located at the south-western flank of the Prophet’s Mosque, and north-west of the Masjid al-Ghamama.[1][2]
Fas'h Mosque: located at the foot of Mount Uhad, according to tradition on the day of Uhud battle Muhammad and his companions had offered Dhuhr prayer here.[4][2]
Mosque of Al-Saqiya: also called masjid Suqya, it is believed to have been built where once prophet Muhammad stayed on hiw way out for the Battle of Badr.
Mosque of Ali Bin Abu-Talib: it is situated some 290 meters from the Masjid Nabawi and 122 meters from Masjid Ghamama[2].
Mosque of Al-Ghamama, is located where according to tradition Muhammad offered Salat ul-Istasqa when the city of Madina faced a shortage of rain, later on a small mosque was established during the reign of Umar Ibn 'Abdulaziz.[5][2]