When an alien lives with you in your land, do not mistreat him. The alien living with you must be treated as one of your native-born. Love him as yourself, for you were aliens in Egypt. I am the LORD your God.
Patrick Neilsen Hayden expands on the theme.