Abu Saeed Khudri reported,

The Messenger of Allah ﷺ dispatched an army to Awtas on the day of Hunayn. They met the enemy, fought them, and prevailed over them, taking captives. Some of the companions of the Messenger of Allah ﷺ felt uneasy about having relations with these captive women because they had husbands among the polytheists. So Allah عز وجل revealed concerning this, "And married women, except those whom your right hands possess" [Nisa 4:24], meaning they are lawful for you once their waiting period has ended.

Azami 9230

Sahih

عن أبي سعيد الخدري

أن رسول الله ﷺ يوم حنين بعث جيئا إلى أوطاس، فلقوا عدوا، فقاتلوهم، فظهروا عليهم، وأصابوالهم سبايا، فكأن ناسا من أصحاب رسول الله ﷺ تحرجوا من غشيانهن من أجل أزواجهن من المشركين، فأنزل الله عز وجل في ذلك: {والمحصنت من النساء إلا ما ملكت أيمنكم} [النساء: ٢٤] أي: فهن لكم حلال إذا انقضت عدتهن.

الأعظمي 9230صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expedition of Hunayn and Taif
Section
Siege of Awtas
Numbering
Jami al-Kamil 9230 (2nd edition)
Azami 9230