A mosque is the building in which Muslims worship 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. In the West mosques are integral parts of Islamic centers that also contain teaching and community facilities.
From the events of the emigration to Madinah, it is clear that the Prophet, sallallahu `alaihi wa sallam, never stayed in any place unless he built a mosque therein for the believers to gather. He built the Qubaa mosque when he stayed there for four days. He also built a mosque between Qubaa and Madinah when the time of the Friday prayer came while he was in the residence of the tribe of Salimibn Auf in the heart of Ranonaa’ Valley.
When Prophet Muhammad ( pbuh) arrived in Madinah, the first act he performed was the building of a mosque.
This indicates the importance of a mosque in Islam. All acts of worship (ibadah) in Islam are for the purification of the soul, refinement of morals, and strengthening the ties of mutual cooperation among the Muslims. The congregational prayers and the Friday and Eid prayers are strong examples of the nature of the Muslim community and in the unity of their opinions, goals and cooperation in achieving righteousness and in fearing Allah.
Thus, if this is the case with the acts of worship, it is no wonder that mosques carry a great social and spiritual place in the lives of the Muslims. The mosque is the thing which unites them and their efforts. It refines their souls and awakens their minds and hearts. It solves their problems. The mosque shows their strength and cohesiveness.
The history of the mosques in Islam has proved that from them come the light of guidance emanate for the Muslims and others. Inside them, the seeds of Islamic civilization develop and grow.