"And he said, Hagar, maid of Sarai," etc. She said to the angel, "From before Sarai my mistress I am fleeing." From here the Sages, of blessed memory, said that a person must state the fault that is in him. And because the angel called her "maid of Sarai," she replied, "From before Sarai my mistress I am fleeing." From here you learn that Hagar became a wife only to Abraham, but to Sarai she was called a maidservant.
Hagar Confesses Her Flight from Sarai to the Angel
Midrash Aggadah, Genesis 16:7
ויאמר הגר שפחת שרי וגו'. אמרה למלאך מפני שרי גברתי אנכי בורחת. מכאן אמרו חז"ל שצריך האדם לומר המום שבו, ולפי שהמלאך קראה שפחת שרי, אמרה היא מפני שרי גברתי אנכי בורחת. מכאן אתה למד שלא נעשית הגר אשה אלא לאברהם, אבל לשרי נקראת שפחה: