حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ أَيُّوبَ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏"‏ إِذَا أَصَابَ الْمُكَاتَبُ حَدًّا أَوْ وَرِثَ مِيرَاثًا يَرِثُ عَلَى قَدْرِ مَا عَتَقَ مِنْهُ ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ رَوَاهُ وُهَيْبٌ عَنْ أَيُّوبَ عَنْ عِكْرِمَةَ عَنْ عَلِيٍّ عَنِ النَّبِيِّ صلى الله عليه وسلم وَأَرْسَلَهُ حَمَّادُ بْنُ زَيْدٍ وَإِسْمَاعِيلُ عَنْ أَيُّوبَ عَنْ عِكْرِمَةَ عَنِ النَّبِيِّ صلى الله عليه وسلم وَجَعَلَهُ إِسْمَاعِيلُ ابْنُ عُلَيَّةَ قَوْلَ عِكْرِمَةَ ‏.‏

Narrated Abdullah ibn Abbas: The Prophet (PBUH) said: When a mukatab (a slave who has made an agreement to purchase his freedom) gifts blood-money or an inheritance, he can inherit in accordance with the extent to which he has been emancipated. Abu Dawud said: Wuhaib transmitted it from Ayyub, from 'Ikrimah, on the authority of 'Ali, from the Prophet (PBUH): and Hammad b. Zaid and Isma'il have transmitted it in a mursal form (i.e the link of the Companion being missing) from Ayyub, from 'Ikrimah, from the Prophet (PBUH). Isma'il b. 'Ulayyah has treated it as a statement of 'Ikrimah. Translation Not Available

Book Ref: Sunan Abi Dawud Book 41 Hadith 4582
Web Ref:  Sunan Abi Dawud Book 40 Hadith 4565