"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." (Using translation from Nasāʾī 3449)
اشْتَرَيْتُ بَرِيرَةَ فَاشْتَرَطَ أَهْلُهَا وَلَاءَهَا فَذَكَرْتُ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَقَالَ رَسُولُ اللهِ ﷺ اشْتَرِيهَا فَأَعْتِقِيهَا فَإِنَّمَا الْوَلَاءُ لِمَنْ أَعْطَى الْوَرِقَ قَالَتْ فَاشْتَرَيْتُهَا فَأَعْتَقْتُهَا قَالَتْ فَدَعَاهَا رَسُولُ اللهِ ﷺ فَخَيَّرَهَا مِنْ زَوْجِهَا فَاخْتَارَتْ نَفْسَهَا وَكَانَ زَوْجُهَا حُرًّا