Quran 8.39-41
And fight them until persecution is no more, and religion is all for Allah. But if they cease, then lo! Allah is Seer of what they do. And if they turn away, then know that Allah is your Befriender - a Transcendent Patron, a Transcendent Helper! And know that whatever ye take as spoils of war, lo! a fifth thereof is for Allah, and for the messenger and for the kinsman (who hath need) and orphans and the needy and the wayfarer, if ye believe in Allah and that which We revealed unto Our slave on the Day of Discrimination, the day when the two armies met. And Allah is Able to do all things.