Judaism, Christianity, and Islam are sometimes referred to as the "Abrahamic religions" because of the progenitor role that Abraham plays in their holy books. In both the Jewish tradition and the Quran, he is referred to as "our Father".[1] Jews, Christians, and Muslims consider him father of the people of Israel. For Jews and Christians this is through his son Isaac,[2] by his wife Sarah; for Muslims, he is a prophet of Islam and the ancestor of Muhammad through his other son Ishmael, born to him by Sarah's handmaiden, Hagar.
No there is a major difference.
One is the convent of grace, free
The other represents the law.
Sarah was a representation of the convent of grace, free while Hagar represents the law, slave.
Jesus came to save sinners making those under the law free.
Hagar was the mother of Abraham's son, Ishmael, who is regarded as the patriarch of the Ishmaelites i.e. the Arabs.