Messenger of Allah ﷺ offered the Fajr prayer when it was still dark, then he rode and said, 'Allah Akbar! Khaibar is ruined. When we approach near to a nation, the most unfortunate is the morning of those who have been warned." The people came out into the streets saying, "Muhammad and his army." Messenger of Allah ﷺ vanquished them by force and their warriors were killed; the children and women were taken as captives. Safiya was taken by Dihya Al-Kalbi and later she belonged to Allah's Apostle go who married her and her Mahr was her manumission. (Using translation from Bukhārī 947)
أَنَّ رَسُولَ اللهِ ﷺ صَلَّى الصُّبْحَ بِغَلَسٍ ثُمَّ رَكِبَ فَقَالَ اللهُ أَكْبَرُ خَرِبَتْ خَيْبَرُ إِنَّا إِذَا نَزَلْنَا بِسَاحَةِ قَوْمٍ فَسَاءَ صَبَاحُ الْمُنْذَرِينَ فَخَرَجُوا يَسْعَوْنَ فِي السِّكَكِ وَهُمْ يَقُولُونَ مُحَمَّدٌ وَالْخَمِيسُ قَالَ مُسَدَّدٌ قَالَ حَمَّادٌ وَالْخَمِيسُ الْجَيْشُ فَظَهَرَ عَلَيْهِمْ رَسُولُ اللهِ ﷺ فَقَتَلَ الْمُقَاتِلَةَ وَسَبَى الذَّرَارِيَّ فَصَارَتْ صَفِيَّةُ لِدِحْيَةَ الْكَلْبِيِّ ثُمَّ صَارَتْ صَفِيَّةُ لِرَسُولِ اللهِ ﷺ ثُمَّ تَزَوَّجَهَا وَجَعَلَ صَدَاقَهَا عِتْقَهَا قَالَ عَبْدُ الْعَزِيزِ لِثَابِتٍ يَا أَبَا مُحَمَّدٍ أَنْتَ سَأَلْتَ أَنَسًا مَا أَمْهَرَهَا؟ فَقَالَ أَمْهَرَهَا نَفْسَهَا فَتَبَسَّمَ