عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ رَضِيَ اللَّهُ عَنْهُ قَالَ أَصَبْنَا نِسَاءً مِنْ سَبْيِ أَوْطَاسٍ وَلَهُنَّ أَزْوَاجٌ فَكَرِهْنَا أَنْ نَقَعَ عَلَيْهِنَّ وَلَهُنَّ أَزْوَاجٌ فَسَأَلْنَا النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فَنَزَلَتْ هَذِهِ الْآيَةُ وَالْمُحْصَنَاتُ مِنَ النِّسَاءِ إِلَّا مَا مَلَكَتْ أَيْمَانُكُمْ [سورة النساء: ٢٤] قَالَ فَاسْتَحْلَلْنَا بِهَا فُرُوجَهُنَّ
It is narrated from Sayyiduna Abu Sa'id Khudri (may Allah be pleased with him): We acquired women from the Banu Awsat tribe as slave girls, while their husbands were present (i.e., they were previously married and their husbands were alive), so we disliked having intercourse with them because their husbands were present. Then when we asked the Noble Prophet (peace and blessings be upon him) about this, this verse was revealed: {وَالْمُحْصَنَاتُ مِنْ النِّسَائِ إِلَّا مَا مَلَکَتْ أَیْمَانُکُمْ} … And married women (are also forbidden) except those (slave girls) whom your right hands possess. So, due to ownership by the right hand, we had intercourse with them.