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