Islam - Its Meaning for Modern Man — Page 51
51 Ten days after leaving Mecca, the small party arrived within sight of Medina, where they were joyfully welcomed by the Muslims from Medina and those from Mecca who had preceded them. The Prophet decided to stop for a few days in Quba, a suburb of Medina, and then proceed to Medina. On arrival in Medina his first act was to purchase the site where his camel had stopped, for the purpose of building a mosque thereon. He then accepted the offer of a Muslim whose house was nearest to the selected site to put him up temporarily, while the mosque and his own quarters next to it were being built.