Numbers 31:8-9

31:8 They killed the kings of Midian in addition to those slain – Evi, Rekem, Zur, Hur, and Reba – five Midianite kings. They also killed Balaam son of Beor with the sword.

31:9 The Israelites took the women of Midian captives along with their little ones, and took all their herds, all their flocks, and all their goods as plunder.

Numbers 31:54

31:54 So Moses and Eleazar the priest received the gold from the commanders of thousands and commanders of hundreds and brought it into the tent of meeting as a memorial for the Israelites before the Lord.