Abu Dawud Book 34, Hadith Number 4565.

Chapter : Bloodwit for a mukatab a slave who has made an agreement to purchase his freedom.

Narated By 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 (may peace be upon him): and Hammad b. Zaid and Isma’il have transmitted it in a mursál form (i.e. the link of the Companion being missing) from Ayyub, from ‘Ikrimah, from the Prophet (may peace be upon him). Isma’il b. ‘Ulayyah has treated it as a statement of ‘Ikrimah.