she wanted to buy Barirah to set her free, but they stipulated that her loyalty (should be to them. She mentioned that to the Messenger of Allah and the Messenger of Allah said: "Buy her, and wet her free and loyalty (Wala) belongs to the one who sets the slave free." Some meat was brought to the Messenger of and it was said that this had been given in charity to Bariirah. He said: "It is charity for her, and a gift for us." And she was given the choice (Using translation from Nasāʾī 4643)
أَنْ تَشْتَرِيَ بَرِيرَةَ لِعِتْقٍ وَأَنَّهُمُ اشْتَرَطُوا وَلَاءَهَا فَذَكَرَتْ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَقَالَ «اشْتَرِيهَا فَأَعْتِقِيهَا فَإِنَّ الْوَلَاءَ لِمَنْ أَعْتَقَ» وَأُتِيَ رَسُولُ اللهِ ﷺ بِلَحْمٍ فَقَالُوا هَذَا تُصُدِّقَ بِهِ عَلَى بَرِيرَةَ فَقَالَ هُوَ لَهَا صَدَقَةٌ وَلَنَا هَدِيَّةٌ وَخُيِّرَتْ