Exodus 23:9 “You shall not oppress an alien, for you know the heart of an alien, since you were aliens in the land of Egypt.
Leviticus 19:10 You shall not glean your vineyard, neither shall you gather the fallen grapes of your vineyard. You shall leave them for the poor and for the foreigner. I am the Yahweh your God. (This command is repeated in other parts of the Bible.)
Leviticus 19:33 “‘If a stranger lives as a foreigner with you in your land, you shall not do him wrong. 34 The stranger who lives as a foreigner with you shall be to you as the native-born among you, and you shall love him as yourself; for you lived as foreigners in the land of Egypt. I am Yahweh your God.
Deuteronomy 10:19 Therefore love the foreigner, for you were foreigners in the land of Egypt.
The Bible also says, in reference to a specific refugee crisis:
(World English Bible, public domain.)