Numbers 31:45

And thirty thousand asses and five hundred,

The verse stands within the record of Israel's war against Midian. In that war God directed Israel to take vengeance upon the Midianites, and judgment was executed upon them because they had led Israel into sin. Within that accounting the verse gives the total of asses taken as spoil as thirty thousand five hundred.