The inheritance of a freed slave goes to the one who freed him. If the slave has male paternal relatives (asaba), it lapses (in favour of the one who freed him), though after those entitled to fixed shares, the remaining portion goes to him.
➊ It is narrated from Aisha (may Allah be pleased with her) that the Messenger of Allah ﷺ said:
الولاء لمن أعتق
“Wala’ belongs only to the one who freed.”
[Bukhari: 6751, Kitab al-Fara’id: Bab al-Wala’ li man a’taq wa mirath al-laqit, Muslim: 1504]
➋ Qatadah (may Allah have mercy on him) says that a slave of Salma bint Hamzah died and left behind one daughter, so the Prophet ﷺ made his daughter heir to half of the wealth and made Ya’la heir to the other half, and he (Ya’la) was the son of Salma.
[Ahmad: 405/6, Talkhis al-Habir: 80/3, Majma’ al-Zawa’id: 231/4]
➌ Ibn Abbas (may Allah be pleased with them both) says that a slave of Hamzah died and left behind a daughter. So the Prophet ﷺ gave half each to his daughter and to the daughter of Hamzah.
[Hasan: Irwa’ al-Ghalil: 1696, Daraqutni: 83/4, Ibn Majah: 2734, Talkhis al-Habir: 80/3, Darimi: 337/2, Bayhaqi: 241/6]
➍ Hudhayl bin Shurahbil relates that a man came to Abdullah bin Zubayr (may Allah be pleased with him) and said: I had freed a slave and made him a sa’ibah; he has died and left behind wealth, while he has no heir. So Abdullah (may Allah be pleased with him) said that the people of Islam did not set people free as sa’ibah; rather the people of the Jahiliyyah used to do this:
وأنت ولى نعمته فلك ميراثه وإن تأثمت و تحرجت فى شيء فنحن نقبله ونجعله فى بيت المال
“And you are the guardian of his favour, so his inheritance is for you; and if you feel sin or discomfort, we will accept it and deposit it in the Bayt al-Mal.”
[Fath al-Bari: 531/13, Bukhari in brief: 6753]