What did the Prophet do first after his settlement at Medina?

 The first step the Prophet took, after his settlement at Medina, was to build a mosque[1] for the worship of Allah according to principles of Islam. Also, houses for the accommodation of the emigrants were soon erected.

 This Madina mosque had social, political, and judicial functions, as well as housing Muhammad's family. It was the center of the first Islamic community and nation. It was the scene of greatest triumphs and tragedies. It was a community center, homeless refuge, university and mosque all rolled into one.

 The Prophet's Mosque is the second holiest mosque in the world after Al-Haram in Mecca. (Al-Aqsa in Jerusalem comes in third.)

 

1. The word “mosque” was introduced into the English language in the late 14th or early 15th century from the French.  It comes from the French word mosquée from the old French word mousquaie.  The French, in turn, derived the word from the Italian word moschea from moscheta.  The Italians got it either directly from the Arabic word masjid or from the old Spanish mesquite.