Ibn 'Abbas narrated that :
a man died during the time of the Messenger of Allah(S.A.W) ,and he did not leave any heirs except for a slave that he had freed. So the Prophet gave him his inheritance (AR)
English reference (AR): Vol. 4, Book 3, Hadith 2106 (AR)
Arabic reference (AR): Book 29, Hadith 2252 (AR)