When an alien resides with you in your land, you must not oppress him. He is to be treated as a native born among you. Love him as yourself, because you were aliens from Egypt. I am the Lord your God.
Leviticus 19:33 (REB)
After you come into the land which the Lord your God is giving you to occupy as your holding and settle in it, you are to take some of the firstfruits of all the produce of the soil, which you harvest from the land the Lord your God is giving you, and, having put them in a basket, go to the place which the Lord your God will choose as a dwelling for his name. When you come to the priest, whoever he is at the time, say to him, "I acknowledge this day to the Lord your God that I have entered the land which the Lord swore to our forefathers to give us." The priest will receive the basket from your hand and set it down before the altar of the Lord your God. Then you must solemnly recite before the Lord your God: "My father was a homeless Aramean who went down to Egypt and lived there with a small band of people, but there it became a great, powerful and large nation. The Egyptians treated us harshly and humiliated us; they imposed cruel slavery on us. We cried out to the Lord the God of our fathers for help, and he listened to us, and when he saw our misery and hardship and oppression, the Lord led us out of Egypt with a strong hand and outstretched arm, with terrifying deeds and signs and portents. He brought us to this place and gave us this land, a land flowing with milk and honey. Now I have brought here the first fruits of the soil which you, Lord, have given me." You are then to set the basket before the Lord your God and bow in worship before him. You are to rejoice, you and the Levites and the aliens living among you, in all the good things which the Lord your God has bestowed on you and your household.
Deuteronomy 26:1-11 (REB)