Some verses below from https://relevantmagazine.com/god/what-bible-says-about-how-treat-refugees-update-new-headline-ie/
When a foreigner resides among you in your land, do not mistreat them. The foreigner residing among you must be treated as your native-born. Love them as yourself, for you were foreigners in Egypt. (Leviticus 19:33-34)
When you reap the harvest of your land, do not reap to the very edges of your field or gather the gleanings of your harvest. Do not go over your vineyard a second time or pick up the grapes that have fallen. Leave them for the poor and the foreigner. (Leviticus 19:9-10)
(God) defends the cause of the fatherless and the widow, and loves the foreigner residing among you, giving them food and clothing. And you are to love those who are foreigners, for you yourselves were foreigners in Egypt. (Deuteronomy 10:18-19)
Do not oppress a foreigner; you yourselves know how it feels to be foreigners, because you were foreigners in Egypt. (Exodus 23:9)
“So I will come to put you on trial. I will be quick to testify against sorcerers, adulterers and perjurers, against those who defraud laborers of their wages, who oppress the widows and the fatherless, and deprive the foreigners among you of justice, but do not fear me,” says the Lord Almighty. (Malachi 3:5)
“As for the foreigner who does not belong to your people Israel but has come from a distant land because of your name— for they will hear of your great name and your mighty hand and your outstretched arm—when they come and pray toward this temple, then hear from heaven, your dwelling place. Do whatever the foreigner asks of you, so that all the peoples of the earth may know your name and fear you, as do your own people Israel, and may know that this house I have built bears your Name. (1 Kings 8:41-44)