ט יִשְׂרָאֵל הַדָּר עִם הָעוֹבֵד כּוֹכָבִים וּמַזָּלוֹת אוֹ עִם גֵּר תּוֹשָׁב בְּחָצֵר אֵינוֹ אוֹסֵר עָלָיו שֶׁדִּירַת הָעוֹבֵד כּוֹכָבִים וּמַזָּלוֹת אֵינָהּ דִּירָה אֶלָּא כִּבְהֵמָה הוּא חָשׁוּב. וְאִם הָיוּ שְׁנֵי יִשְׂרְאֵלִים אוֹ יָתֵר וְעוֹבֵד כּוֹכָבִים וּמַזָּלוֹת שָׁכֵן עִמָּהֶן הֲרֵי זֶה אוֹסֵר עֲלֵיהֶם. וְדָבָר זֶה גְּזֵרָה שֶׁלֹּא יַשְׁכִּינוּ עוֹבֵד כּוֹכָבִים וּמַזָּלוֹת עִמָּהֶן שֶׁלֹּא יִלְמְדוּ מִמַּעֲשָׂיו. וְלָמָּה לֹא גָּזְרוּ בְּיִשְׂרָאֵל אֶחָד וְעוֹבֵד כּוֹכָבִים וּמַזָּלוֹת אֶחָד. מִפְּנֵי שֶׁאֵינוֹ דָּבָר מָצוּי. שֶׁהֲרֵי יִפְחַד שֶׁמָּא יִתְיַחֵד עִמּוֹ וְיַהַרְגֶּנּוּ וּכְבָר אָסְרוּ לְהִתְיַחֵד עִם הָעוֹבֵד כּוֹכָבִים וּמַזָּלוֹת:
9 [In a case of] an Israelite who lives in a courtyard with an idolater or a resident alien: [The latter] does not forbid [it] to him — as the residence of an idolater is not [considered] residence, but is rather considered like an animal. But if there were two or more Israelites and an idolater living with them, he surely forbids them. And this thing is a decree, such that idolaters not dwell with them, so that they not learn from their actions. So why did [the Sages] not decree about one Israelite and one idolater? Because it is not a common thing, as he would surely be afraid, lest he be alone with him and [the idolater] kill him. And they already forbade one to be alone with an idolater.