"Shu'bah narrated to us, from 'Abdur-Rahman bin Al-Qasim, from his father, from 'Aishah. He (Shu'bah) said: "And he ('Abdur-Rahman) was the executor for his father." He (Shu'bah) said: "I was afraid to say to him: 'Did you hear this from your father.'" -- 'Aishah said: "I asked the Messenger of Allah about Barirah, as I wanted to buy her but it was stipulated that the Wala' would go to her (former) masters. He said: 'Buy her, for the Wala' is to the one who sets the slave free.' And she was given the choice, as her husband was a slave." Then he said, after that: "I do not know." --"And some meat was brought to the Messenger of Allah and they said: 'This is some of that which was given in charity to Barirah.' He said: 'It is charity for her and a gift for us.'" (Using translation from Nasāʾī 3454)
سَأَلْتُ رَسُولَ اللهِ ﷺ عَنْ بَرِيرَةَ وَأَرَدْتُ أَنْ أَشْتَرِيَهَا وَأَشْتَرِطَ الْوَلَاءَ لِأَهْلِهَا فَقَالَ «اشْتَرِيهَا فَإِنَّ الْوَلَاءَ لِمَنْ أَعْتَقَ» قَالَ وَخُيِّرَتْ وَكَانَ زَوْجِهَا عَبْدًا ثُمَّ قَالَ بَعْدَ ذَلِكَ مَا أَدْرِي مَا أَدْرِي وَأُتِيَ رَسُولُ اللهِ ﷺ بِلَحْمٍ فَقَالُوا هَذَا مِمَّا تُصُدِّقَ بِهِ عَلَى بَرِيرَةَ قَالَ «هُوَ لَهَا صَدَقَةٌ وَلَنَا هَدِيَّةٌ»