Samurah bin Jundub (RAA) narrated that The Messenger of Allah (ﷺ) said:
"Whoever obtains possession of a relative, who is next of kin, that person becomes free." Related by Ahmad and the four Imams. Some scholars are of the opinion that it is Mawquf (not connected to the Prophet.) (IT)
English reference (IT): Book 15, Hadith 1469 (IT)
Arabic reference (IT): Book 15, Hadith 1425 (IT)