حَدَّثَنَا دَاوُدُ بْنُ مُعَاذٍ، حَدَّثَنَا عَبْدُ الْوَارِثِ، ح وَحَدَّثَنَا يَعْقُوبُ بْنُ إِبْرَاهِيمَ، - الْمَعْنَى - قَالَ حَدَّثَنَا ابْنُ عُلَيَّةَ، عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، عَنْ أَنَسٍ، قَالَ جُمِعَ السَّبْىُ - يَعْنِي بِخَيْبَرَ - فَجَاءَ دِحْيَةُ فَقَالَ يَا رَسُولَ اللَّهِ أَعْطِنِي جَارِيَةً مِنَ السَّبْىِ ‏.‏ قَالَ ‏"‏ اذْهَبْ فَخُذْ جَارِيَةً ‏"‏ ‏.‏ فَأَخَذَ صَفِيَّةَ بِنْتَ حُيَىٍّ فَجَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَ يَا نَبِيَّ اللَّهِ أَعْطَيْتَ دِحْيَةَ - قَالَ يَعْقُوبُ - صَفِيَّةَ بِنْتَ حُيَىٍّ سَيِّدَةَ قُرَيْظَةَ وَالنَّضِيرِ - ثُمَّ اتَّفَقَا - مَا تَصْلُحُ إِلاَّ لَكَ ‏.‏ قَالَ ‏"‏ ادْعُوهُ بِهَا ‏"‏ ‏.‏ فَلَمَّا نَظَرَ إِلَيْهَا النَّبِيُّ صلى الله عليه وسلم قَالَ لَهُ ‏"‏ خُذْ جَارِيَةً مِنَ السَّبْىِ غَيْرَهَا ‏"‏ ‏.‏ وَإِنَّ النَّبِيَّ صلى الله عليه وسلم أَعْتَقَهَا وَتَزَوَّجَهَا ‏.‏

Anas said “Captives were gathered at Khaibar. Dihyah came out and said “Apostle of Allaah(PBUH) give me a slave girl from the captives.” He said “Go and take a slave girl. He took Safiyyah daughter of Huyayy. A man then came to the Prophet (PBUH) and said “You gave Safiyyah daughter of Huyayy, chief lady of Quraizah and Al Nadir to Dihyah? This is according to the version of Ya’qub. Then the agreed version goes “she is worthy of you.” He said “call him along with her. When the Prophet (PBUH) looked at her, he said to him “take another slave girl from the captives. The Prophet (PBUH) then set her free and married her. Translation Not Available

Book Ref: Sunan Abi Dawud Book 20 Hadith 2998
Web Ref:  Sunan Abi Dawud Book 19 Hadith 2992