Exodus 23:9

Do not be hard on the man from a strange country who is living among you; for you have had experience of the feelings of one who is far from the land of his birth, because you yourselves were living in Egypt, in a strange land.

Exodus 22:21

Do no wrong to a man from a strange country, and do not be hard on him; for you yourselves were living in a strange country, in the land of Egypt.

Deuteronomy 27:19

Cursed is he who gives a wrong decision in the cause of a man from a strange land, or of one without a father, or of a widow. And let all the people say, So be it.

Exodus 21:21

But, at the same time, if the servant goes on living for a day or two, the master is not to get punishment, for the servant is his property.

Deuteronomy 10:19

So be kind to the man from a strange country who is living among you, for you yourselves were living in a strange country in the land of Egypt.

Deuteronomy 24:14-18

Do not be hard on a servant who is poor and in need, if he is one of your countrymen or a man from another nation living with you in your land.

Psalm 94:6

They put to death the widow and the guest, they take the lives of children who have no father;

Ezekiel 22:7

In you they have had no respect for father and mother; in you they have been cruel to the man from a strange land; in you they have done wrong to the child without a father and to the widow.

Matthew 18:33

Was it not right for you to have mercy on the other servant, even as I had mercy on you?

Hebrews 2:17-18

Because of this it was necessary for him to be made like his brothers in every way, so that he might be a high priest full of mercy and keeping faith in everything to do with God, making offerings 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
Was it not right for you to have mercy on the other servant, even as I had mercy on you?
Hebrews 2:17
Because of this it was necessary for him to be made like his brothers in every way, so that he might be a high priest full of mercy and keeping faith in everything to do with God, making offerings for the sins of the people.

General references

Deuteronomy 27:19
Cursed is he who gives a wrong decision in the cause of a man from a strange land, or of one without a father, or of a widow. And let all the people say, So be it.

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain