This is because they oppose Allah and His Messenger. And whoever opposes Allah, then surely Allah is the One Who is Severe in punishment.
What you cut down of the palm-trees or you left them standing upon their roots is also only by Allah’s Leave, and this is for the abasement of Fâsiqûn (the transgressors).
And you made no expedition with either cavalry or camels (you did not fight) for which Allah gave as booty without any battle to His Messenger from those (from their property). But Allah assigns His Messengers against whom He wills, and Allah has Power over all things.
What Allah gave as booty without any battle to His Messenger from the people of that town is now for Allah, His Prophet, his kindred, the orphans, the needy and the wayfarer. (This is) so that it shall not be a commodity (wealth) going from one hand to another amongst the rich of you. And whatever the Messenger gave you, then take it. And from whatever he forbids you, abstain from it. Be the owner of piety towards Allah. Surely Allah is the One Who is Severe in torment.
(The booty obtained without any battle) is for the poor emigrants, who were expelled from their lands and deserted from their property. They seek the Virtue and Pleasure of Allah and assist Allah and His Messenger. These it is that are the loyal.
And those who dwelled in the land (in Al-Madîna) before them and in the hearts of whom the Faith has settled love those who have emigrated to them. And they have no wish (grief, malice) in their hearts due to what they are given (their share of booty), even if they are in need of them. And they prefer (put) them over their souls. And whoever protects his soul from stinginess, then these it is that have attained Salvation.