(12) باب مَنْ أَعْتَقَ شِرْكًا لَهُ فِي عَبْدٍ
Ibn 'Umar reported Allah's Apostle (ﷺ) as saying:
He who gives up his share in a slave, the remaining (share) will be paid out of his riches if his riches are enough to meet the price of the slave.
Reference: Sahih Muslim 1501 h
In-book reference: Book 27, Hadith 78
USC-MSA web (English) reference(deprecated numbering scheme): Book 15, Hadith 4107