Sahih al-Bukhari 97
Abū Burdah (r.a) narrated from his father [Abū Mūsá al-Ashʿarī (r.a)] that the Messenger of Allāh (saw) said: ‘There are three individuals who will receive a double reward: [1] a man of the People of the Book (ahl al-kitāb) who believes in his own Prophet and believes in Muḥammad (saw), [2] a slave, owned by another person, who fulfills his duties both to Allāh and his master, [3] a man who has a female slave and inculcates good manners in her, and does so in the best way, and he educates her, providing her with the finest education, then sets her free and marries her. Such a person will have a double reward.’
Then ʿĀmir [a narrator] said: ‘We gave this [ḥadīth] to you without charge. In the past, individuals would journey to Madīnah for matters of lesser significance.’
Translation: Ahmadiyya Muslim Jamaat
Book 31: A man teaching (religion to) his woman-slave and his family