Answer
After converting to Islam, Khalid ibn al-Walid pledged services to Muhammad, who was the prophet and founder of the religion. He then served as a military commander under Muhammad and helped to spread the religion by fighting in battles. He was known for his bravery and military prowess, and was one of the most successful commanders in Islamic history.