Leviticus 19:34

34 aYou shall treat the stranger who sojourns with you as the native among you, and byou shall love him as yourself, for you were strangers in the land of Egypt: I am the Lord your God.

Deuteronomy 10:19

19 cLove the sojourner, therefore, for you were sojourners in the land of Egypt.
Copyright information for ESV