Here is an outline of the Mosaic Law regarding slaves, Hebrew as well as Gentile. For their time, Israel's slavery laws were revolutionary for their humaneness, in comparison with slavery among Gentiles. (No doubt, there were individual exceptions to this. And actual practice may have been sometimes different to what the Law stated.) There is a section in the link that discusses female slaves from war.
Israelite slavery does not compare well with modern democracies - in theory anyways, In practice, modern democracies have outsourced their 'slavery' to third world nations so that their own citizens have the appearance of freedom without any slavery. The same can be said for some of the more wealthy Islamic nations.