Abu Musa Ashari reported,

The Messenger of Allah ﷺ said, "Three people will have a double reward. A man from the People of the Book who believed in his prophet and then believed in Muhammad ﷺ. A slave who fulfills the rights of Allah and the rights of his masters. And a man who has a slave-girl, whom he disciplines well, teaches well, then frees her and marries her. He will have two rewards."

Azami 6242

Sahih

عن أبي موسى الأشعري قال

قال رسول الله ﷺ: ثلاثة لهم أجران، رجل من أهل الكتاب آمن بنبيه، وآمن بمحمد ﷺ، والعبد المملوك إذا أدى حق الله وحق مواليه، ورجل كانت عنده أمة، فأدبها فأحسن تأديبها، وعلمها فأحسن تعليمها، ثم أعتقها فتزوجها له أجران.

الأعظمي 6242صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Marriage
Chapter
Marriage and its conditions
Section
Reward of one who frees his slave girl then marries her
Numbering
Jami al-Kamil 6242 (2nd edition)
Azami 6242