for religious purposes

What did the Prophet Muhammad (peace be upon him) ask `Ali to do with the companions of Khalid bin Al-Walid?
 Narrated Al-Bara:                     Allah's Apostle sent us to Yemen along with Khalid bin Al-Walid. Later on he sent `Ali bin Abi Talib in his place. The Prophet said to `Ali, "Give Khalid's companions the choice of either staying with you (in Yemen) or returning to Medina." I was one of those who stayed with him (i.e. `Ali) and got several Awaq (of gold from the war booty.