Anas bin Malik reported,

The captives were gathered, and Dihya رضي الله عنها came and said, "Prophet of Allah, give me a slave girl from the captives."He said, "Go and take a slave girl."So he took Safiya bint Huyayy. Then a man came to the Prophet ﷺ and said, "Prophet of Allah, you have given Dihya Safiya bint Huyayy, the chief lady of Qurayza and Nadir. She is fit for none but you."He said, "Call him to bring her."He brought her, and when the Prophet ﷺ looked at her, he said, "Take another slave girl from the captives instead of her."

Azami 8062

Sahih

في سياق قصة خيبر:

عن أنس

فجمع السبي فجاء دحية رضي الله عنها فقال: يا نبي الله أعطني جارية من السبي، قال: اذهب فخذ جارية فأخذ صفية بنت حيي فجاء رجل إلى النبي ﷺ فقال: يا نبي الله أعطيت دحية صفية بنت حيي سيدة قريظة والنضير لا تصلح إلا لك قال: ادعوه بها فجاء بها فلما نظر إليها النبي ﷺ قال: خذ جارية من السبي غيرها.

الأعظمي 8062صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Spoils of war, anfal, and fay
Section
Chosen portion of the Messenger of Allah ﷺ
Numbering
Jami al-Kamil 8062 (2nd edition)
Azami 8062