(36) باب إِذَا قَالَ أَخْدَمْتُكَ هَذِهِ الْجَارِيَةَ عَلَى مَا يَتَعَارَفُ النَّاسُ فَهْوَ جَائِزٌ
Narrated Abu Huraira:
Allah's Messenger (ﷺ) said, "The Prophet (ﷺ) Abraham migrated with Sarah. The people (of the town where they migrated) gave her Ajar (i.e. Hajar). Sarah returned and said to Abraham, "Do you know that Allah has humiliated that pagan and he has given a slave-girl for my service?"
Reference: Sahih al-Bukhari 2635
In-book reference: Book 51, Hadith 67
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 3, Book 47, Hadith 803