Exodus 23:9

King James Version Bible (KJV)
Also thou shalt not oppress a stranger: for ye know the heart of a stranger, seeing ye were strangers in the land of Egypt.

Read Exodus 23:9 in other translations