(30) باب خِيَارِ الأَمَةِ تُعْتَقُ وَزَوْجُهَا حُرٌّ
It was narrated that 'Aishah said:
"I bought Barirah and her masters stipulated that her Wala' should go to them. I mentioned that to the Prophet and he said: 'Set her free, and Al-Wala' is to the one who pays the silver.' So I set her free and the Messenger of Allah called her and gave her the choice concerning her husband. She said: 'Even if you gave me such and such, I would not stay with him,' so she chose herself and her husband was a free man."
Reference: Sunan an-Nasa'i 3449
In-book reference: Book 27, Hadith 61
English translation: Vol. 4, Book 27, Hadith 3479