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:21735Abū ʿAbdullāh al-Ḥāfiẓ > ʿAbdullāh b. Ibrāhīm b. Ayyūb al-Mattūthī > Yūsuf b. Yaʿqūb > Sulaymān b. Ḥarb > Shuʿbah > al-Ḥakam > Ibrāhīm > al-Aswad > ʿĀʾishah > Arādat

[Machine] He bought a camel, but they demanded loyalty in return. She mentioned this to the Messenger of Allah ﷺ, and the Messenger of Allah ﷺ said, "Buy it, loyalty is for the one who frees."  

البيهقي:٢١٧٣٥أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنبأ عَبْدُ اللهِ بْنُ إِبْرَاهِيمَ بْنِ أَيُّوبَ الْمَتُّوثِيُّ أنبأ يُوسُفُ بْنُ يَعْقُوبَ ثنا سُلَيْمَانُ بْنُ حَرْبٍ ثنا شُعْبَةُ عَنِ الْحَكَمِ عَنْ إِبْرَاهِيمَ عَنِ الْأَسْوَدِ عَنْ عَائِشَةَ ؓ أَنَّهَا أَرَادَتْ أَنْ

تَشْتَرِيَ بَرِيرَةَ فَاشْتَرَطُوا عَلَيْهَا الْوَلَاءَ فَذَكَرَتْ ذَلِكَ لِرَسُولِ اللهِ ﷺ فَقَالَ رَسُولُ اللهِ ﷺ اشْتَرِيهَا الْوَلَاءُ لِمَنْ أَعْتَقَ  

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

See similar narrations below:

Collected by Bukhārī
bukhari:6717Sulaymān b. Ḥarb > Shuʿbah > al-Ḥakam > Ibrāhīm > al-Aswad > ʿĀʾishah > Arādat

that she intended to buy Barira (a slave girl) and her masters stipulated that they would have her Wala'. When ʿAisha mentioned that to the Prophet ﷺ ; he said, "Buy her, for the Wala' is for the one who manumits."  

البخاري:٦٧١٧حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ حَدَّثَنَا شُعْبَةُ عَنِ الْحَكَمِ عَنْ إِبْرَاهِيمَ عَنِ الأَسْوَدِ عَنْ عَائِشَةَ أَنَّهَا أَرَادَتْ

أَنْ تَشْتَرِيَ بَرِيرَةَ فَاشْتَرَطُوا عَلَيْهَا الْوَلاَءَ فَذَكَرَتْ ذَلِكَ لِلنَّبِيِّ ﷺ فَقَالَ اشْتَرِيهَا إِنَّمَا الْوَلاَءُ لِمَنْ أَعْتَقَ