Exodus 23:9

And a sojourner shalt thou not oppress: for ye know the heart of a sojourner, seeing ye were sojourners in the land of Egypt.

Exodus 22:21

And a sojourner shalt thou not wrong, neither shalt thou oppress him: for ye were sojourners in the land of Egypt.

Deuteronomy 27:19

Cursed be he that wresteth the justice due to the sojourner, fatherless, and widow. And all the people shall say, Amen.

Exodus 21:21

Notwithstanding, if he continue a day or two, he shall not be punished: for he is his money.

Deuteronomy 10:19

Love ye therefore the sojourner; for ye were sojourners in the land of Egypt.

Deuteronomy 24:14-18

Thou shalt not oppress a hired servant that is poor and needy, whether he be of thy brethren, or of thy sojourners that are in thy land within thy gates:

Psalm 94:6

They slay the widow and the sojourner, And murder the fatherless.

Ezekiel 22:7

In thee have they set light by father and mother; in the midst of thee have they dealt by oppression with the sojourner; in thee have they wronged the fatherless and the widow.

Matthew 18:33

shouldest not thou also have had mercy on thy fellow-servant, even as I had mercy on thee?

Hebrews 2:17-18

Wherefore it behooved him in all things to be made like unto his brethren, that he might become a merciful and faithful high priest in things pertaining to God, to make propitiation for the sins of the people.

Treasury of Scripture Knowledge

Summary

Also thou shalt not oppress a stranger: for ye know the heart of a stranger, seeing ye were strangers in the land of Egypt.

General references

Bible References

Ye know

Matthew 18:33
shouldest not thou also have had mercy on thy fellow-servant, even as I had mercy on thee?
Hebrews 2:17
Wherefore it behooved him in all things to be made like unto his brethren, that he might become a merciful and faithful high priest in things pertaining to God, to make propitiation for the sins of the people.

General references

Deuteronomy 27:19
Cursed be he that wresteth the justice due to the sojourner, fatherless, and widow. And all the people shall say, Amen.

American Standard Version Public Domain