The Book of Zohar. Chapter “The Eighth Commandment” (abridged)
228. The eighth Commandment is to love an outsider (anyone who seeks correction) from another nation, who desires to come under the wings of the Shechina (qualities of Bina in Malchut), Malchut, who takes under her wings (protects from one’s own egoism) those who separate themselves from the other, impure (egoistic) side, and draw near her (with their qualities), as it is written: “LET THE EARTH (desire, Malchut) BRING FORTH A LIVING (bestowing) SOUL AFTER ITS KIND (according to its corrected desire).”
229. One might say that the soul of Haya (the last correction of Malchut) exists in Israel (the aspiration for spirituality) and is ready for anything (by means of faith above reason). He specified, “After its kind” (any qualities) refers to both Israel (one who aspires toward spirituality) and to an outsider (one who has just begun the path). Like chambers and passages (different qualities in Malchut) between them, the same exists in the land called Haya, under the wings.
230. The right wing (the quality of bestowal) of Malchut has two passages (conditions), which are split from this wing in two so as to let in two nations that are close to Israel. And under the left wing (the quality of reception) there are two additional passages, called Amon and Moav. And they are all called the souls of Haya (they are all corrected together).
231. Each wing contains a multitude of closed chambers and halls (separate conditions of correction). From them, spirits (Light of the level of Ruach) emerge and are divided among all the outsiders, called Nefesh Haya (Light of the level of Nefesh), but each “after his kind.” And they all come under the wings of the Shechina, but no further.
232. However, the soul of Israel (the general intention to bestow) stems from the body of that tree (the source of Light, Zeir Anpin), and from there the souls fly off (the Light descends) to this land (the desires undergoing correction, Malchut). Therefore, Israel (the intention to bestow) is the darling son of Malchut, and is sustained by her womb, and not by the wings that are on the outside of the body. Moreover, the outsiders have no part in the Holy Tree (ZA), especially not in its body. They refer only to the wings of Malchut, and no further. The outsider (the new desire undergoing correction) is under the wings of the Shechina, and no further (is protected, but not yet in her). The righteous among the outsiders also refer to the outer side (not yet fully corrected, existing under Tzimtzum Bet – the Second Restriction), and not to the inner. It is hence written: “LET THE EARTH BRING FORTH A LIVING SOUL (Nefesh Haya) AFTER ITS KIND” (not yet complete).
“Introduction to the Book of Zohar.” Items 19-25