הזהירנו מהושיב עובדי ע"ז בארצנו כדי שלא נלמוד כפירותם, באמרו לא ישבו בארצכם פן יחטיאו וגו', ואילו רצה העכו"ם לעמוד בארצנו אינו מותר לנו עד שקבל עליו שלא לעבוד ע"ז ואולם עובדי ע"ז לא ישכנו עמנו ולא נמכור להם נחלה ולא נשכיר להם בית, ובבאור אמרו לנו הפירוש לא תתן להם חנייה בקרקע. (ואלה המשפטים, שם): He prohibited us from settling idol worshippers in our land, so that we not learn their heresy, with His saying, "They shall not dwell in your land lest they cause [you] to sin, etc." (Exodus 23:33). And if an idolator wants to remain in our land, it is only allowed when he accepts upon himself not to worship idols. However idol worshippers may not dwell with us [in the Land of Israel], nor may we sell them a holding nor may we rent them a house. And in the explanation (Avodah Zarah 20a), they told us, "Do not give them an encampment in the land." (See Parashat Mishpatim; Mishneh Torah, Foreign Worship and Customs of the Nations 10.)