[Machine] The messenger of Allah sent a group on a mission on the day of Hunayn, and they encountered a tribe of Arabs on the day of Awtaas. They fought them and defeated them, and they captured their women who were married. It seemed that some of the companions of the Prophet may have hesitated about having relations with their wives due to their captivity. So Allah revealed, "And [also prohibited to you are all] married women except those your right hands possess" [Quran 4:24]. So they are lawful for you.
أَنَّ رَسُولَ اللهِ ﷺ بَعَثَ سَرِيَّةً يَوْمَ حُنَيْنٍ فَأَصَابُوا جَيْشًا مِنَ الْعَرَبِ يَوْمَ أَوْطَاسٍ فَقَاتَلُوهُمْ وَهَزَمُوهُمْ فَأَصَابُوا نِسَاءً لَهُنَّ أَزْوَاجٌ وَكَأَنَّ أُنَاسًا مِنْ أَصْحَابِ النَّبِيِّ ﷺ تَأَثَّمُوا مِنْ غَشَيَانِهِنَّ مِنْ أَجْلِ أَزْوَاجِهِنَّ فَأَنْزَلَ اللهُ ﷻ {وَالْمُحْصَنَاتُ مِنَ النِّسَاءِ إِلَّا مَا مَلَكَتْ أَيْمَانُكُمْ} [النساء 24] فَهُنَّ لَكُمْ حَلَالٌ