On the day of Awtas, we captured women who had husbands among the polytheists. Some men among us were reluctant to be intimate with them, so Allah revealed, "And married women, except those whom your right hands possess" [Nisa 4:24].
حدثنا عبد بن حميد أخبرنا حبان بن هلال حدثنا همام بن يحيى حدثنا قتادة عن أبي الخليل عن أبي علقمة الهاشمي
لما كان يوم أوطاس أصبنا نساء لهن أزواج في المشركين فكرههن رجال منا فأنزل الله {والمحصنات من النساء إلا ما ملكت أيمانكم}
Muslim also narrated it in the Book of Suckling, chapter, "The permissibility of having intercourse with a captive woman after waiting for her to become free of pregnancy," etc., hadith no. 1456, from the hadith of Qatada, with the same wording.