He converted , however , and joined Muhammad after the Treaty of Hudaybiyyah and commanded various expeditions for him .
He converted to Islam , however , and joined Muhammad after the Treaty of Hudaybiyyah and participated in various expeditions for him , such as the Battle of Mu ` tah .