It was narrated from Ibn`Abbas that the Messenger of Allah (ﷺ) said:
"Any man whose slave won an bears him a child, she will be free after he dies." (AR)
English reference (AR): Vol. 3, Book 19, Hadith 2515 (AR)
Arabic reference (AR): Book 19, Hadith 2611 (AR)