Hadithcore
Sahih al-Bukhari, 4201
sahih

Narrated `Abdul `Aziz bin Suhaib:

Anas bin Malik said, "The Prophet (ﷺ) took Safiya as a captive. He manumitted her and married her." Thabit asked Anas, "What did he give her as Mahr (i.e. marriage gift)?" Anas replied. "Her Mahr was herself, for he manumitted her."

حَدَّثَنَا آدَمُ، حَدَّثَنَا شُعْبَةُ، عَنْ عَبْدِ الْعَزِيزِ بْنِ صُهَيْبٍ، قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ـ رضى الله عنه ـ يَقُولُ سَبَى النَّبِيُّ صلى الله عليه وسلم صَفِيَّةَ، فَأَعْتَقَهَا وَتَزَوَّجَهَا‏.‏ فَقَالَ ثَابِتٌ لأَنَسٍ مَا أَصْدَقَهَا قَالَ أَصْدَقَهَا نَفْسَهَا فَأَعْتَقَهَا‏.‏

References2 variants
In-Book Reference
Book 64, Hadith 241
USC-MSA web (English) reference
Vol. 5, Book 59, Hadith 513 (deprecated numbering scheme)