Shemot 23:9

9 Also thou shalt not oppress a ger; for ye know the nefesh of a ger, seeing ye were gerim in Eretz Mitzrayim.