MASJID E QUBA
A Masjid or Mosque is the building in which Muslims worship Allah سبحانه و تعالى (The God). Throughout Islamic history, the mosque was the centre of the community and towns formed around this pivotal building. Nowadays, especially in Muslim countries mosques are found on nearly every street corner, making it a simple matter for Muslims to attend the five daily prayers.
Every mosque has a mihrab, a niche in the wall that indicates the direction of Makkah; the direction towards which Muslims pray. Most mosques have a minbar (or pulpit) from which an Islamic scholar is able to deliver a sermon or speech. 
The first mosque that was built by the Prophet ﷺ was the mosque of Quba’ in Madeenah al-Munawwarah.
Ibn al-Qayyim(may Allaah have mercy on him) said in Zaad al-Ma’aad (3/58), when describing the arrival of the Messengerﷺin Madeenah:
The Muslims said takbeer, rejoicing at his arrival, and they went out to meet him… He continued until he stopped in Quba’, among Banu ‘Amr ibn ‘Awf, and he stayed among them for fourteen days, and founded the mosque of Quba’, which is the first mosque to be established after the beginning of his Prophethood.
The great scholar Muhammad al-Ameen al-Shanqeeti (may Allaah have mercy on him) said:
With regard to the order of building, al-Masjid al-Haraam was the first mosque to be built for mankind. The mosque of Quba’ was the first mosque built by the Muslims. 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’.
It is located south of Madeenah (Saudi Arabia), but its structure is recent and there is no trace of the first structure.
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. Other caliphs also expanded and renovated it, until the final expansion in 1406 AH.
In the year 555 AH, several additions were made to the mosque by Kamal Al-Din Al-Isfahani. Successive renovations of the mosque took place in the years 671, 733, 840, 881 AH, and the latest changes were made in the era of Sultan Abdul Majid in the year 1245 AH during the time of the Ottoman Empire.
In modern times, the Saudi regime has taken charge of the mosque by endowing the responsibility to the Ministry of Hajj Affairs which made further renovations and added structures to the original design.
The modern day Quba Mosque is an architectural feat equipped with the latest facilities while maintaining its Islamic identity. The mosque has been expanded to accommodate more than 20 thousand worshipers.
In 1984, the late King Fahd bin Abdulaziz laid the foundation stone for the historic expansion of the Quba Mosque. Two years later, he inaugurated the opening of the mosque after its expansion.
The size of the prayer hall alone is now 5035 square meters, and the area occupied by the mosque with all its facilities is 13,500 square meters. The mosque has been expanded to accommodate more than 20 thousand worshipers.
The Mosque was designed with an inner courtyard with several entrances. The northern section was reserved for women worshippers. The mosque now has four minarets and 56 domes and adjoined to it is the residence of Imams and muezzins, a library, lodging for the guards in an area of 112 sq. meters, and a commercial center with 12 shops covering an area of 450 sq. meters. The mosque has 7 main entrances and 12 subsidiary ones.
Allah encouraged His Prophet to pray in Masjid Quba’ which, from the first day, was built on Taqwa, obedience to Allah and His Messenger , for gathering the word of the believers and as an outpost and a fort for Islam and its people. This is why Allah the Exalted said,
Verily, the Masjid whose foundation was laid from the first day on Taqwa is more worthy that you stand therein (to pray).) in reference to the Masjid of Quba’. Quran Surah Taubah 9:108
An authentic Hadith records that “The Messenger of Allah ﷺ said: ‘Whoever purifies himself in his house, then comes to the Quba’ Mosque and offers one prayer therein, will have a reward like that for ‘Umrah.”Sunan Ibn Majah 1476, 1477 and Jami` at-Tirmidhi 324
It is recorded in the Sahih that the Messenger of Allah ﷺused to visit Masjid Quba’ every Saturdaywhile riding and walking. He then would offer two rak`at (in the Mosque of Quba)." Sahih al-Bukhari Vol.2: 1191, 1192 and Sahih Muslim 1399
It is prescribed for the visitor to Madeenah and for the one who lives there to go to the Mosque of Quba’ and pray there, following the example of the Prophetﷺand seeking the reward of ‘Umrah. It was narrated that Sahl ibn Haneef said: The Messenger of Allaah (peace and blessings of Allaah be upon him) said: “Whoever goes out until he comes to this mosque – meaning the Mosque of Quba’ – and prays there, that will be equivalent to ‘Umrah.” Musnad Ahmad, 3/437; al-Nasaa’i, 699; classed as saheeh by al-Albaani in Saheeh al-Targheeb, 1180, 1181.
In Sahih Muslim it is narrated that the Messenger of Allaah (peace and blessings of Allaah be upon him) used to go to the mosque of Quba’ every Saturday, walking or riding, and he would pray two rak’ahs there. Sahih al-Bukhaari, 1191; Muslim, 1399