Al-Mu'minun - 23:6

إِلَّا عَلَى أَزْوَاجِهِمْ أوْ مَا مَلَكَتْ أَيْمَانُهُمْ فَإِنَّهُمْ غَيْرُ مَلُومِينَ
[23:6]
Except before their mates or those whom their right hands possess, for they surely are not blameable,
Except with those joined to them in the marriage bond, or (the captives) whom their right hands possess,- for (in their case) they are free from blame,
Save from their wives or the (slaves) that their right hands possess, for then they are not blameworthy,