Ibn 'Abbas (RAA) narrated that Allah's Messenger (ﷺ) said:
"When a man's slave-woman bears him a child she becomes free at his death." Related by Ibn Majah and Al-Hakim with a weak chain of narrators. (ID)
English reference (ID): Book 15, Hadith 1479 (ID)
Arabic reference (ID): Book 15, Hadith 1435 (ID)