Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:2228Sulaymān b. Ḥarb > Ḥammād b. Zayd > Thābit > Anas

Amongst the captives was Safiya. First she was given to Dihya Al-Kalbi and then to the Prophet.  

البخاري:٢٢٢٨حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ ثَابِتٍ عَنْ أَنَسٍ ؓ قَالَ

كَانَ فِي السَّبْىِ صَفِيَّةُ فَصَارَتْ إِلَى دَحْيَةَ الْكَلْبِيِّ ثُمَّ صَارَتْ إِلَى النَّبِيِّ ﷺ  


See similar narrations below:

Collected by Abū Dāwūd
abudawud:2996Musaddad > Ḥammād b. Zayd > ʿAbd al-ʿAzīz b. Ṣuhayb > Anas b. Mālik

Anas bin Malik said “Safiyyah first fell to Dihyat Al Kalbi, the she fell to the Apostle of Allaah ﷺ.  

أبو داود:٢٩٩٦حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

صَارَتْ صَفِيَّةُ لِدِحْيَةَ الْكَلْبِيِّ ثُمَّ صَارَتْ لِرَسُولِ اللَّهِ ﷺ