Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:10844[Chain 1] Abū Naṣr Muḥammad b. ʿAlī al-Faqīh > Abū ʿAbdullāh Muḥammad b. Yaʿqūb > Yaḥyá b. Muḥammad And Muḥammad b. Naṣr > Yaḥyá b. Yaḥyá > Mālik [Chain 2] Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq al-Faqīh > Ismāʿīl b. Isḥāq al-Qāḍī > Ibn Abū Ūways And al-Qaʿnabī > Mālik b. Anas > Nāfiʿ > Ibn ʿUmar > ʿĀʾishah Arādat > Tashtarī Walīdah Fatuʿtiqahā > Ahluhā Nabīʿuk

[Machine] That her loyalty to us was mentioned to the Messenger of Allah ﷺ , so he said: "That should not stop you, for loyalty is only for the one who freed the slave." In another narration from Abu Nasr, from Ibn Umar, from Aisha, that she wanted to purchase a slave girl and then set her free, and the rest is equal.  

البيهقي:١٠٨٤٤أَخْبَرَنَا أَبُو نَصْرٍ مُحَمَّدُ بْنُ عَلِيٍّ الْفَقِيهُ ثنا أَبُو عَبْدِ اللهِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا يَحْيَى بْنُ مُحَمَّدٍ وَمُحَمَّدُ بْنُ نَصْرٍ قَالَا ثنا يَحْيَى بْنُ يَحْيَى قَالَ قَرَأْتُ عَلَى مَالِكٍ ح وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو بَكْرِ بْنُ إِسْحَاقَ الْفَقِيهُ أنا إِسْمَاعِيلُ بْنُ إِسْحَاقَ الْقَاضِي أنا ابْنُ أَبِي أُوَيْسٍ وَالْقَعْنَبِيُّ عَنْ مَالِكِ بْنِ أَنَسٍ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ أَنَّ عَائِشَةَ أَرَادَتْ أَنْ تَشْتَرِيَ وَلِيدَةً فَتُعْتِقَهَا فَقَالَ أَهْلُهَا نَبِيعُكِ عَلَى

أَنَّ وَلَاءَهَا لَنَا فَذَكَرَتْ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَقَالَ لَا يَمْنَعْكِ ذَلِكَ فَإِنَّمَا الْوَلَاءُ لِمَنْ أَعْتَقَ لَفْظُ حَدِيثِ أَبِي عَبْدِ اللهِ وَفِي رِوَايَةِ أَبِي نَصْرٍ عَنِ ابْنِ عُمَرَ عَنْ عَائِشَةَ أَنَّهَا أَرَادَتْ أَنْ تَشْتَرِيَ جَارِيَةً فَتُعْتِقَهَا وَالْبَاقِي سَوَاءٌ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ إِسْمَاعِيلَ بْنِ أَبِي أُوَيْسٍ وَرَوَاهُ مُسْلِمٌ عَنْ يَحْيَى بْنِ يَحْيَى

See similar narrations below:

Collected by Bayhaqī
bayhaqi:21466Abū ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muḥammad b. ʿAbdullāh b. ʿAbd al-Ḥakam > Ibn Wahb > Mālik b. Anas > Nāfiʿ > ʿAbdullāh b. ʿUmar

'Aishah, mother of believers (ra), intended to buy a slave-girl to set her free. Her people said: We shall sell her to you on one condition that we shall inherit from her. 'Aishah mentioned it to the Messenger of Allah ﷺ. He said: That should not prevent you, for the right of inheritance belongs to the one who has set a person free. (Using translation from Abū Dāʾūd 2915)   

البيهقي:٢١٤٦٦أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ أنبأ مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ عَبْدِ الْحَكَمِ أنبأ ابْنُ وَهْبٍ حَدَّثَنِي مَالِكُ بْنُ أَنَسٍ عَنْ نَافِعٍ عَنْ عَبْدِ اللهِ بْنِ عُمَرَ

أَنَّ عَائِشَةَ زَوْجَ النَّبِيِّ ﷺ أَرَادَتْ أَنْ تَشْتَرِيَ وَلِيدَةً فَتُعْتِقَهَا فَقَالَ أَهْلُهَا نَبِيعُكِهَا عَلَى أَنَّ وَلَاءَهَا لَنَا فَذَكَرَتْ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَقَالَ لَا يَمْنَعْكِ ذَلِكَ فَإِنَّمَا الْوَلَاءُ لِمَنْ أَعْتَقَ أَخْرَجَاهُ فِي الصَّحِيحِ مِنْ حَدِيثِ مَالِكٍ