Sunan Ibn Majah

Hadith #2741

It was narrated that Ibn ‘Abbas said:“A man died at the time of the Messenger of Allah (ﷺ), and he left no heir except for a slave whom he had set free. The Messenger of Allah (ﷺ) gave the legacy to him.”