The functions that the Masjid an-Nabawi fulfilled
• A place of worship.
• A school where Islam was taught and advice was given.
• A centre where weddings and folkore dancing took place.
• A shelter for lonely people (Suffah).
• A council for diplomacy and military affairs.
• A detention centre for captives and criminals.
• A storehouse for taxes and war trophies.
• A reception and guesthouse for ambassadors and commitees.
• A medical room for the treatment of the injured.
• A court for judicial actions.