Negative commandment · Lo Ta’aseh #51 of 613
Not to allow the worshipers of false gods to settle in our land
שלא להושיב עובדי עבודה זרה בארצנו
The verse · Shemot 23:33
לֹא יֵשְׁבוּ בְּאַרְצְךָ פֶּן־יַחֲטִיאוּ אֹתְךָ לִי כִּי תַעֲבֹד אֶת־אֱלֹהֵיהֶם כִּי־יִהְיֶה לְךָ לְמוֹקֵשׁ
“They shall not dwell in thy land, lest they make thee sin against me: for if thou serve their gods, it will surely be a snare to thee.”
The Rambam’s words
Not to allow the worshipers of false gods to settle in our land, as [Exodus 23:33] states: "They shall not settle in your land."
שלא להושיב עובדי עבודה זרה בארצנו, שנאמר "לא יישבו בארצך" (שמות כג,לג).
Why · Sefer HaChinuch #94
To not have worshipers of idols dwell in our Land
“From the roots of the commandment is what is revealed in the verse — so that we not learn from their heresy.”
Who & when
“And [it] is practiced by males and females in the Land.”
Where in the Mishneh Torah
Hilchot Foreign Worship and Customs of the Nations הלכות עבודה זרה וחוקות הגויים