Abu Musa Ashari reported,

The Prophet ﷺ said, "Any man who has a slave-girl, teaches her well, treats her with excellence, then frees her and marries her, will have two rewards. And any slave who fulfills the right of Allah and the right of his masters will have two rewards."

Bukhari 2547

Sahih

حدثنا محمد بن كثير أخبرنا سفيان عن صالح عن الشعبي عن أبي بردة

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

النبي ﷺ أيما رجل كانت له جارية فأدبها فأحسن تأديبها وأعتقها وتزوجها فله أجران وأيما عبد أدى حق الله وحق مواليه فله أجران

البخاري 2547صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Emancipation of slaves
Chapter
A slave who perfects his worship of his Lord and is sincere to his master
Numbering
Darussalam 2547
Bukhari 2547