The Building of the Mosque in Madinah

When the Prophet Muhammad SAWntered Madinah from Quba, the people were eagerly waiting to receive him. As his camel passed through the city, different families came forward, took hold of its reins, and invited him to stay with them. The Prophet asked them to leave the camel free, saying that it would stop where it was meant to stop.

The camel continued on its way until it finally knelt at an open piece of land where no house stood. The Prophet asked who owned the land. He was told that it belonged to two young orphan boys, Sahl and Suhayl, who were under the guardianship of As’ad ibn Zurarah. The site was being used as a mirbad, a place where dates were spread out to dry.

The boys offered the land to the Prophet without payment, saying that they would seek their reward from God. The Prophet, however, declined to accept it as a gift and insisted on purchasing it. Reports differ regarding the exact price, but according to one account, Abu Bakr paid the amount on the Prophet’s behalf.

At that time, neither Makkah nor Madinah had an independent coinage of its own. Coins of the Byzantine and Persian empires were in circulation. The dinar was a gold coin, and both Byzantine and Persian dinars were known in Arabia.

The site contained date-palm trees and some old graves. The Prophet ordered the trees to be cut and the ground to be cleared and levelled. Once the site had been prepared, construction of the mosque began.

The Prophet himself worked alongside the other Muslims. He helped carry bricks, stones, and other building materials, while others prepared the mud mortar and raised the walls. Seeing the Prophet personally engaged in the work, the Muslims were inspired to work with greater enthusiasm. They expressed the feeling that it would be wrong for them to remain idle while the Prophet himself was working (Sirah Ibn Hisham, Vol. 1, p. 148).

Talq ibn Ali, one of the Companions, later recalled that the Prophet assigned him the task of preparing mortar. When he asked whether he should also carry bricks, the Prophet told him to continue making mortar because he was skilled at it. The incident reflects the practical way in which the work was organized: each person contributed according to his ability.

The mosque itself was extremely simple. Its walls were made of unbaked bricks, its pillars from the trunks of date palms, and its roof from palm branches and leaves. The roof was later coated with mud. The mosque had three entrances and was approximately one hundred cubits in length and width. Its prayer direction initially faced Jerusalem, as the command to turn towards the Kaaba had not yet been given.

The construction took several months. The mosque that emerged was not an elabourate building; it reflected simplicity, collective effort, and practical need. The Prophet did not merely supervise the work but took part in the physical labour alongside his companions.

Several years later, after the conquest of Khaybar in 7 AH, the mosque was rebuilt and enlarged. By then, the original structure had deteriorated, and the growing Muslim community required more space. Once again, the Prophet personally took part in the construction.

Abu Hurayrah relates that during this rebuilding he saw the Prophet carrying several bricks against his chest. Thinking that the load was too heavy, Abu Hurayrah offered to carry them for him. The Prophet told him to take other bricks instead, adding that the true life was the life of the Hereafter (Musnad Ahmad, Hadith No. 8951).

The building of the mosque thus became one of the first major community projects in Madinah. It was constructed through shared labour, with the Prophet working alongside everyone else. Its structure was simple, but its role was central: it provided the emerging Muslim community with a common place for prayer, gathering, and community affairs.

Maulana Wahiduddin Khan
Share icon

Subscribe

CPS shares spiritual wisdom to connect people to their Creator to learn the art of life management and rationally find answers to questions pertaining to life and its purpose. Subscribe to our newsletters.

Stay informed - subscribe to our newsletter.
The subscriber's email address.

leafDaily Dose of Wisdom

Ask, Learn, Grow

Your spiritual companion