וַיְהִי֙ הַמַּלְק֔וֹחַ יֶ֣תֶר הַבָּ֔ז אֲשֶׁ֥ר בָּזְז֖וּ עַ֣ם הַצָּבָ֑א צֹ֗אן שֵׁשׁ־מֵא֥וֹת אֶ֛לֶף וְשִׁבְעִ֥ים אֶ֖לֶף וַחֲמֵֽשֶׁת־אֲלָפִֽים׃
Now the prey, over and above the booty which the men of war took, was six hundred thousand and seventy thousand and five thousand sheep,
Read halakhic rulings (Jewish law) on Numbers 31:32: and classical halakhic sources.