عن أبي سعيد رضي الله عنه أن النبي صلى الله عليه وسلم قال في سَبَايَا أَوْطَاس: «لا تُوطَأُ حَامِلٌ حتى تَضَعَ، ولا غَيْرُ ذَاتِ حَمْلٍ حتى تَحِيضَ حَيْضَةً».
Abu Sa‘īd al-Khudri (may Allah be pleased with him) reported that in Awtās, a place close to Makkah, the Prophet (may Allah's peace and blessings be upon him) forbade having sexual intercourse with women taken as captives in the course of jihad until their wombs were clear, such that pregnant women would give birth and attain purity of the postpartum bleeding; and non-pregnant women have one menstrual cycle.
This also applies to the female captives who were bought and the female slaves who were owned in any way.
Download for free and never miss a prayer again