Numbers 31:27-29 New King James Version (NKJV)

27. and divide the plunder into two parts, between those who took part in the war, who went out to battle, and all the congregation.

28. And levy a tribute for the Lord on the men of war who went out to battle: one of every five hundred of the persons, the cattle, the donkeys, and the sheep;

29. take it from their half, and give it to Eleazar the priest as a heave offering to the Lord.

Numbers 31