The Mukatab
Malik :: Book 39 : Hadith 39.8.10
Malik related to me that he had heard that Said ibn al-Musayyab was asked about a mukatab who was shared between two men. One of them freed his portion and then the mukatab died and left a lot of money. Said replied, "The one who kept his kitaba is paid what remains due to him, and then they divide what is left between them both equally."
Malik said, "When a mukatab who fulfils his kitaba and becomes free dies, he is inherited from by the people who wrote his kitaba and their children and paternal relations - whoever is most deserving."
He said, "This is also for whoever is set free when he dies after being set free - his inheritance is for the nearest people to him of children or paternal relations who inherit by means of the wala'."
Malik said, "Brothers, written together in the same kitaba, are in the same position as children to each other when none of them have children written in the kitaba or born in the kitaba. When one of them dies and leaves property, he pays for them all that is against them of their kitaba and sets them free. The money left over after that goes to his children rather than his brothers."