It was narrated from 'Aishah:
that the Messenger of Allah (ﷺ) set Safiyyah free, and made her ransom her dowry, and he married her. (ID)
English reference (ID): Vol. 3, Book 9, Hadith 1958 (ID)
Arabic reference (ID): Book 9, Hadith 2034 (ID)