[Machine] The Messenger of Allah ﷺ said, "If a slave is freed and leaves behind inheritance or commits a punishable offense, then he will inherit according to what has been freed from him, and the punishment will be carried out on him according to the extent of what has been freed from him."
أَنَّ رَسُولَ اللهِ ﷺ قَالَ «إِذَا مَاتَ الْمُكَاتَبُ وَتَرَكَ مِيرَاثًا أَوْ أَصَابَ حَدًّا فَإِنَّهُ يَرِثُ عَلَى قَدْرِ مَا أُعْتِقَ مِنْهُ وَيُقَامُ عَلَيْهِ الْحَدُّ بِقَدْرِ مَا أُعْتِقَ مِنْهُ»