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." (DE)
English reference (DE): Vol. 3, Book 19, Hadith 2515 (DE)
Arabic reference (DE): Book 19, Hadith 2611 (DE)