Language:
كتاب الفرائض
85  
Laws of Inheritance (Al-Faraa'id)
(19)
Chapter: Al-Wala’ is for the manumitter
(19)
باب الْوَلاَءُ لِمَنْ أَعْتَقَ، وَمِيرَاثُ اللَّقِيطِ
Sahih al-Bukhari 6751

Narrated `Aisha:

I bought Barira (a female slave). The Prophet (ﷺ) said (to me), "Buy her as the Wala' is for the manumitted." Once she was given a sheep (in charity). The Prophet (ﷺ) said, "It (the sheep) is a charitable gift for her (Barira) and a gift for us." Al-Hakam said, "Barira's husband was a free man." Ibn `Abbas said, 'When I saw him, he was a slave."

حَدَّثَنَا حَفْصُ بْنُ عُمَرَ، حَدَّثَنَا شُعْبَةُ، عَنِ الْحَكَمِ، عَنْ إِبْرَاهِيمَ، عَنِ الأَسْوَدِ، عَنْ عَائِشَةَ، قَالَتِ اشْتَرَيْتُ بَرِيرَةَ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ اشْتَرِيهَا، فَإِنَّ الْوَلاَءَ لِمَنْ أَعْتَقَ ‏"‏‏.‏ وَأُهْدِيَ لَهَا شَاةٌ فَقَالَ ‏"‏ هُوَ لَهَا صَدَقَةٌ، وَلَنَا هَدِيَّةٌ ‏"‏‏.‏ قَالَ الْحَكَمُ وَكَانَ زَوْجُهَا حُرًّا، وَقَوْلُ الْحَكَمِ مُرْسَلٌ‏.‏ وَقَالَ ابْنُ عَبَّاسٍ رَأَيْتُهُ عَبْدًا‏.‏
Reference : Sahih al-Bukhari 6751
In-book reference : Book 85, Hadith 28
USC-MSA web (English) reference : Vol. 8, Book 80, Hadith 743
  (deprecated numbering scheme)