The picture on the left is Masjid Quba on the outskirts of Madina where the Prophet (s.a.w.), accompanied by Abu Bakr (r.a.) arrived and first stayed after emigrating from Makkah.
A beautiful Masjid that welcomes us all on entering Madinah is the first Masjid built in Islamic history, Masjid Quba. It lies in the area Qua which at the time of migration was an outskirt of Madinah, but today is a part of the Holy city. This was the place where Prophet صلى الله عليه وآله وسلم and his companions stayed for 14 days on their journey of emigration from Makkah. Here they waited for Ali bin Abi Talib رضي الله عنه to join them before entering Madinah.
Here all prayers were offered qasr as this was the temporary stop. History says that the first stones of this Masjid were placed by Prophet صلى الله عليه وآله وسلم himself, and a proper Masjid was built after settling in Madinah in the first year of Hijra.
This Masjid has a very high esteem after Ka'aba and Masjid Nabwi, and its virtue can is mentioned in Qura'an in Surah Tauba:
Never stand (to pray) there (referring to a place of worship in which the hypocrites had used for harm and disbelief, as mentioned in the previous ayah). A place of worship which was founded upon duty (to Allah) from the first day is more worthy that thou should stand (to pray) therein, wherein are men who love to purify themselves. Allah loveth the purifiers.
— Qur'an, sura 9 (At-Tawba), ayah 108
"Whoever makes ablutions at home and then goes and prays in the Mosque of Quba, he will have a reward like that of an 'Umrah." This hadith is reported by Ahmad ibn Hanbal, Al-Nasa'i, Ibn Majah and Hakim al-Nishaburi.
Prophet صلى الله عليه وآله وسلم made a habit of going to Masjid Quba on every Saturday either on foot or on camel. This is narrated in many books of Sunnah
“The Prophet (peace be upon him) used to go to Quba Mosque sometimes walking, sometimes riding,” narrated by Ibn Umar, and in another narration: “He would then offer two Rak’at”. ‘Abdullah (Ibn ‘Umar) used to do the same.[Muslim & Bukhari]
The great scholar Muhammad al-Ameen al-Shanqeeti (may Allaah have mercy on him) said:
The first masjid on the earth was Masjid Al-Haram, and first Masjid by Muslims was Masjid Quba. Al-Masjid al-Haraam was built by Ibraaheem and the mosque of Quba’ was built by the Seal of the Messengers. The site of al-Masjid al-Haraam was chosen by Allaah and something similar may be said about the site of the mosque of Quba’.
The Muslims paid attention to the mosque of Quba’ throughout the ages. It was renovated by ‘Uthmaan ibn ‘Affaan (may Allaah be pleased with him), then by ‘Umar ibn ‘Abd al-‘Azeez. The final expansion in 1406 AH.