And know that whatever spoils you gain , to God belongs its fifth , and to the Messenger , and the relatives , and the orphans , and the poor , and to the wayfarer , provided you believe in God and in what We revealed to Our servant on the Day of Distinction , the day when the two armies met . God is Capable of everything .