According to another tradition...
According to another tradition, the Prophet commanded the armies he sent forth on military expeditions: Burn no date-trees, nor flood them to destroy them; cut down no fruit trees, nor burn any fields of corn; there will be times enough when you will need these resources. Destroy no animals whose flesh is lawful, except what are necessary for food. When you meet the enemy, offer them three conditions, which if they accept, leave them unmolested.
First, summon them to become Muslims; if they consent, offer them no violence, but direct them to go to the capital of Islam after embracing the faith. If they refuse to remove, and prefer to remain in their own country. they will be classed with the desert Arabs, and not be entitled to any share in the spoils taken by the Muslim armies till they go and dwell at the capital of Islam.
If they will not receive the faith, offer them the condition of tribute, and the grade of servitude if they are people possessing a divine book. Should they agree to this, do not attack them; but if they refuse the condition of tribute likewise, seek help from Allah and fight them as truth requires.
When you besiege a fortified place, and its garrison and people surrender, make one of your number arbiter in the case, as you may not know the will of God in the matter, and if you pledge them security, do it on your own account and not on the authority of Allah and the Prophet.” And it is narrated from Amirul Momineen (a.s.) that the Prophet forbade poisoning the water of infidels, and he never surprised and cut off his enemy by night.
Imam Ja’far Sadiq (a.s.) says that the Prophet had three hundred and thirteen men at the Battle of Badr; six hundred at the Battle of Uhud, and nine hundred at the siege of Khandaq. It is mentioned in reliable traditions from Imam Reza that when Khyber was taken, the inhabitants were laid under a tribute of half their annual produce, besides a tithe and half for the poor Muslims. When the people of Taif embraced Islam, they were only allotted these taxes.
And when he entered Mecca as a conqueror, all the people became his prisoners but he emancipated and forgave all them.