Num Numbers, chapter Book of Numbers, chapter 31
From what the people received, Moses/I took one from every 50 items and dedicated them to Yahweh. That included animals and people. As Yahweh commanded, he/I gave them all to the descendants of Levi who took care of the Sacred Tent.