Prophet Muhammed (peace be upon him) continued on his journey until he entered Medinah. There was a great celebration when Prophet Muhammed (peace be upon him) entered Medinah; it was a great day in the history of Medinah and Islam. All the Ansar (Helpers from Medinah) had gone out, the men, women, children and slaves, to welcome Prophet Muhammed. All the homes and streets resonated with words of praise and glorification.
Whenever Prophet Muhammed (peace be upon him) passed any of the homes of the Ansars, the owner of the house would take the reins of his camel. Each one of them wanted Prophet Muhammed to stay with him. Prophet Muhammed (peace be upon him) used to say to them, [At-Tabaqat Al-Kubra By Ibn Said].
Prophet Muhammed’s camel continued to move under the command of Allah until he stopped At the present location of Prophet Muhammed’s mosque.
The land belonged to two young boys from Al-Ansar (Sahil and Suhayl, the sons of Amr) from Bani An-Najjar. So Prophet Muhammed brought the land from them for 10 dinars. The boys wanted to give it to Prophet Muhammed as a gift, but Prophet Muhammed refused to take it as a gift.
The land was part of the district of Bani Najjar, who were the uncles of Abu Al-Muttalib through his mother. Prophet Muhammed (peace be upon him) said, <‘Which of our houses is the nearest?’ Abu Ayyub (may Allah be pleased with him) said, ‘Mine, Oh Prophet Muhammed. This is my home and this is my door.’ Prophet Muhammed (peace be upon him) said, ‘Go and prepare a place for us to rest.’ Abu Ayyub said, ‘Welcome. May Allah bless your stay’> [related by Al-Bukhari and Muslim].
Prophet Muhammed (peace be upon him) stayed at the noble Companion Khalid ibn Zayd (Abu Ayyub Al-Ansar). And Prophet Muhammed started to build Prophet Muhammed’s mosque straight away; it was the first thing Prophet Muhammed (peace be upon him) started to carry out after he reached Medinah. This indicates the importance of the mosque in Islam; it is the place where Muslims meet for the five daily prayers, where they gathered with Prophet Muhammed, where consultations were carried out, and a place for groups coming to Medinah to embrace Islam.
For these reasons, Prophet Muhammed (peace be upon him) was eager for the building of his mosque to be the first matter he carried out there. In fact, he used to participate in the building of the mosque for the Companions to realize the importance of communal participation and work. He used to carry the bricks (unbaked bricks), saying when carrying them, <‘Oh Allah, the true life is the Next life, so forgive the Ansar and Muhajarin.’>
Prophet Muhammed’s mosque was the centre and the first step in building the Muslim community, as it represented the school where the Muslim mind, and the basics of the Islamic belief, rules and ethics were established. And it represented a small model of the ideal society in which such rituals, meanings and manners are practiced. Consequently, Prophet Muhammed’s mosque is one of the blessed achievements of Prophet Muhammed’s immigration.