[Machine] Barirah came seeking my help in her correspondence, so I said to her, "If you wish, I will write to them once and pay your dowry. Then, I will set you free." Barirah mentioned this to her guardians, and they said, "We agree, as long as you stipulate that the loyalty remains with us." She narrated the incident to the Messenger of Allah, ﷺ , and he said, "Buy her, for indeed loyalty belongs to the one who sets them free." This wording is reported by Ahmad in his Musnad from Al-Harith bin Maskeen, recited upon him. I've also heard it from Ibn Al-Qasim who said: Malik narrated to me from Yahya bin Sa'eed, who narrated from 'Amrah, that Barirah came seeking Aisha's help, and this narration is mursal.
جَاءَتْ بَرِيرَةُ تَسْتَعِينُنِي فِي مُكَاتَبَتِهَا فَقُلْتُ لَهَا إِنْ شَاءَ مَوَالِيكِ صَبَبْتُ لَهُمْ ثَمَنَكِ صَبَّةً وَاحِدَةً وَأَعْتَقْتُكِ فَذَكَرَتْ ذَلِكَ بَرِيرَةُ لِمَوَالِيهَا فَقَالُوا لَا إِلَّا أَنْ تَشْتَرِطَ أَنَّ الْوَلَاءَ لَنَا قَالَتْ فَذَكَرْتُ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَقَالَ «اشْتَرِيهَا فَإِنَّمَا الْوَلَاءُ لِمَنْ أَعْتَقَ» وَاللَّفْظُ لِأَحْمَدَ 6375 الْحَارِثُ بْنُ مِسْكِينٍ قِرَاءَةً عَلَيْهِ وَأَنَا أَسْمَعُ عَنِ ابْنِ الْقَاسِمِ قَالَ حَدَّثَنِي مَالِكٌ عَنْ يَحْيَى بْنِ سَعِيدٍ عَنْ عَمْرَةَ أَنَّ بَرِيرَةَ جَاءَتْ تَسْتَعِينُ عَائِشَةَ مُرْسَلٌ