Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates that a man died in the time of the Messenger of Allah (peace and blessings be upon him), and no heir of his was found, but he had a freed slave whom the deceased had set free. So the Prophet (peace and blessings be upon him) said: "Give him his wealth."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12159