she freed Barirah and the Messenger of Allah (ﷺ) gave her the choice, and she (Barirah) had a free husband.
Sunan Ibn Majah Book 10, Hadith 59