Numbers 31:35

And thirty and two thousand persons in all, of women that had not known man by lying with him.

Cross-reference

Deuteronomy 20:14 permits taking women as plunder in war; this verse records the actual number captured from Midian.