Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Ibrahim emigrated with Sarah, and they gave her Ajar. She returned and said, 'Did you know that Allah has humiliated the disbeliever and provided a maidservant to serve me?'"Ibn Sirin reported from Abu Hurairah from the Prophet ﷺ, "And he gave her Hajar to serve her."

Bukhari 2635

Sahih

حدثنا أبو اليمان أخبرنا شعيب حدثنا أبو الزناد عن الأعرج

عن أبي هريرة رضي الله عنه

أن رسول الله ﷺ قال هاجر إبراهيم بسارة فأعطوها آجر فرجعت فقالت أشعرت أن الله كبت الكافر وأخدم وليدة وقال ابن سيرين عن أبي هريرة عن النبي ﷺ فأخدمها هاجر

البخاري 2635صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Gifts, their virtue, and encouragement to give them
Chapter
If he said "I have given you this Jariya to serve you" according to what is customary among people, it is permissible
Numbering
Darussalam 2635
Bukhari 2635