The early Muslims of Madinah were known as the Ansar. The term "Ansar" comes from the Arabic word "nusr" which means "to help" or "to support".
When Prophet Muhammad migrated from Makkah to Madinah, he found a group of people there who were willing to support him and the Muslim community. These people were known as the Ansar, or the "helpers". They provided the Muslims with shelter, food, and protection, and helped them establish a strong and stable community in Madinah.
The Ansar played a vital role in the early Islamic community, and their support and contribution were greatly appreciated by Prophet Muhammad and the Muslims. They were considered to be among the most loyal and devoted followers of Islam, and their example continues to inspire Muslims to this day.