A foreigner. Literally "a so-journer"—i.e; a foreigner who is merely passing through the land, or staying for a time, without intending to become a permanent resident. The Septuagint πάροικος well expresses the meaning.
An hired servant. It is assumed that the "hired servant" will be a foreigner; and intended to guard against any compulsion being put upon him.