Language:
كتاب الطلاق
68  
Divorce
(15)
Chapter: A female slave, whose husband is a slave, has the option to keep him or leave him (when she is manumitted).
(15)
باب خِيَارِ الأَمَةِ تَحْتَ الْعَبْدِ
Sahih al-Bukhari 5282

Narrated Ibn `Abbas:

Barira's husband was a black slave called Mughith, the slave of Bani so-and-so-- as if I am seeing him now, walking behind her along the streets of Medina.

حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا عَبْدُ الْوَهَّابِ، عَنْ أَيُّوبَ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ قَالَ كَانَ زَوْجُ بَرِيرَةَ عَبْدًا أَسْوَدَ يُقَالُ لَهُ مُغِيثٌ، عَبْدًا لِبَنِي فُلاَنٍ، كَأَنِّي أَنْظُرُ إِلَيْهِ يَطُوفُ وَرَاءَهَا فِي سِكَكِ الْمَدِينَةِ‏.‏
Reference : Sahih al-Bukhari 5282
In-book reference : Book 68, Hadith 31
USC-MSA web (English) reference : Vol. 7, Book 63, Hadith 205
  (deprecated numbering scheme)