Sunan Abi Dawud, Book 19, Hadith 32 (Abu Dawud 2917)

Narrated 'Aishah:

The Messenger of Allah (ﷺ) as saying: The right of inheritance belongs to only to the one who paid the price (of the slave) and patronised him by doing an act of gratitude.