Quran 59:7 — Exodus (Al-Hashr)
Whatever GOD restored to His messenger from the (defeated) communities shall go to GOD and His messenger (in the form of a charity). You shall give it to the relatives, the orphans, the poor, and the traveling alien. Thus, it will not remain monopolized by the strong among you. You may keep the spoils given to you by the messenger, but do not take what he enjoins you from taking. You shall reverence GOD. GOD is strict in enforcing retribution.
[59:6] Whatever GOD restored for His messenger was not the result of your war efforts, whether you fought on horses or on foot. GOD is the One who sends His messengers against whomever He wills. GOD is Omnipotent.
[59:8] (You shall give) to the needy who immigrated. They were evicted from their homes and deprived of their properties, because they sought GOD's grace and pleasure, and because they supported GOD and His messenger. They are the truthful.