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