Ikrimah narrates from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "When the mukatab becomes liable to a prescribed punishment (hadd) or entitled to an inheritance, he will inherit in proportion to the part of him that has been freed, and the hadd will be applied to him in proportion to the part of him that has been freed."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب المكاتب / 21652