Deuteronomy 10:18-19

10:18 who justly treats the orphan and widow, and who loves resident foreigners, giving them food and clothing. 10:19 So you must love the resident foreigner because you were foreigners in the land of Egypt.

Deuteronomy 24:14

24:14 You must not oppress a lowly and poor servant, whether one from among your fellow Israelites or from the resident foreigners who are living in your land and villages.

Exodus 22:21

22:21 “You must not wrong a foreigner nor oppress him, for you were foreigners in the land of Egypt.

Exodus 23:9

23:9 “You must not oppress a foreigner, since you know the life of a foreigner, for you were foreigners in the land of Egypt.

Leviticus 24:22

24:22 There will be one regulation for you, whether a foreigner or a native citizen, for I am the Lord your God.’”