Women in Surah 70

Doom is about to fall on all disbelievers. Only worshippers (Muslims) and those who preserve their
chastity (except with their wives and slave girls) will be spared from "the fires of hell" that are "eagar to roast."
70:1-30

You don't have to be chaste around your wives or your slave girls.
70:29-30