0
Allah gave women slaves to Muhammad as the spoils of war.
O Prophet! Lo! We have made lawful unto thee thy wives ... and ... those whom Allah hath given thee as spoils of war. Quran 33:50
Muslim men should be modest except with their wives and slaves.
Successful indeed are the believers ... who guard their modesty - Save from their wives or the (slaves) that their right hands possess. 23:1-6
Don't have sex with women that are married to other men -- unless they're slaves that you obtained in war. Then it's OK.
All married women (are forbidden unto you) save those (captives) whom your right hands possess. 4:24
Enjoy what you have won in war -- including slaves.
Enjoy what ye have won, as lawful and good ... [including] captives who are in your hands. 8:68-69
If you're a single man, marry one of your pious slaves.
Marry such of you as are solitary and the pious of your slaves and maid- servants. 24:32
According to Allah, slaves are of less worth than their masters.
Allah coineth a similitude: (on the one hand) a (mere) chattel slave, who hath control of nothing, and (on the other hand) one on whom we have bestowed a fair provision from Us, and he spendeth thereof secretly and openly. Are they equal? 16:75
If your slaves have been good, set them free. And don't force your female slaves to become prostitutes.
And such of your slaves as seek a writing (of emancipation), write it for them if ye are aware of aught of good in them, and bestow upon them of the wealth of Allah which He hath bestowed upon you. Force not your slave-girls to whoredom. 24:33
If someone murders your slave, then kill one of theirs. If it was a male that was killed, kill one of the killer's male slaves. If it was a female slave, kill one of their female slaves. Murder for murder. Slave for slave.
O ye who believe! Retaliation is prescribed for you in the matter of the murdered; the freeman for the freeman, and the slave for the slave, and the female for the female. 2:178