ו וְהֵיאַךְ דִּין עִיר הַנִּדַּחַת. בִּזְמַן שֶׁתִּהְיֶה רְאוּיָה לְהֵעָשׂוֹת עִיר הַנִּדַּחַת. בֵּית דִּין הַגָּדוֹל שׁוֹלְחִין וְדוֹרְשִׁין וְחוֹקְרִין עַד שֶׁיֵּדְעוּ בִּרְאָיָה בְּרוּרָה שֶׁהֻדְּחָה כָּל הָעִיר אוֹ רֻבָּהּ וְחָזְרוּ לַעֲבוֹדַת כּוֹכָבִים. אַחַר כָּךְ שׁוֹלְחִים לָהֶם שְׁנֵי תַּלְמִידֵי חֲכָמִים לְהַזְהִירָם וּלְהַחֲזִירָם. אִם חָזְרוּ וְעָשׂוּ תְּשׁוּבָה מוּטָב וְאִם יַעַמְדוּ בְּאִוַּלְתָּן בֵּית דִּין מְצַוִּין לְכָל יִשְׂרָאֵל לַעֲלוֹת עֲלֵיהֶן לַצָּבָא וְהֵן צָרִין עֲלֵיהֶם וְעוֹרְכִין עִמָּהֶן מִלְחָמָה עַד שֶׁתִּבָּקַע הָעִיר. כְּשֶׁתִּבָּקַע מִיָּד מַרְבִּין לָהֶם בָּתֵּי דִּינִין וְדָנִים אוֹתָם. כָּל מִי שֶׁבָּאוּ עָלָיו שְׁנֵי עֵדִים שֶׁעָבַד כּוֹכָבִים אַחַר שֶׁהִתְרוּ אוֹתוֹ מַפְרִישִׁין אוֹתוֹ. נִמְצְאוּ כָּל הָעוֹבְדִים מִעוּטָהּ סוֹקְלִין אוֹתָן וּשְׁאָר הָעִיר נִצּוֹל. נִמְצְאוּ רֻבָּהּ מַעֲלִין אוֹתָן לְבֵית דִּין הַגָּדוֹל וְגוֹמְרִין שָׁם דִּינָם וְהוֹרְגִין כָּל אֵלּוּ שֶׁעָבְדוּ בְּסַיִף. וּמַכִּין אֶת כָּל נֶפֶשׁ אָדָם אֲשֶׁר בָּהּ לְפִי חָרֶב טַף וְנָשִׁים אִם הֻדְּחָה כֻּלָּהּ. וְאִם נִמְצְאוּ הָעוֹבְדִים רֻבָּהּ מַכִּים אֶת כָּל הַטַּף וְנָשִׁים שֶׁל עוֹבְדִים לְפִי חָרֶב. וּבֵין שֶׁהֻדְּחָה כֻּלָּהּ בֵּין שֶׁהֻדְּחָה רֻבָּהּ סוֹקְלִין אֶת מַדִּיחֶיהָ וּמְקַבְּצִין כָּל שְׁלָלָהּ אֶל תּוֹךְ רְחוֹבָהּ. אֵין לָהּ רְחוֹב עוֹשִׂין לָהּ רְחוֹב. הָיָה רְחוֹבָהּ חוּצָה לָהּ בּוֹנִין חוֹמָה חוּץ מִמֶּנּוּ עַד שֶׁיִּכָּנֵס לְתוֹכָהּ שֶׁנֶּאֱמַר אֶל תּוֹךְ רְחֹבָהּ. וְהוֹרְגִין כָּל נֶפֶשׁ חַיָּה אֲשֶׁר בָּהּ וְשׂוֹרְפִין אֶת כָּל שְׁלָלָהּ עִם הַמְּדִינָה בָּאֵשׁ. וּשְׂרֵפָתָהּ מִצְוַת עֲשֵׂה שֶׁנֶּאֱמַר (דברים יג יז) "וְשָׂרַפְתָּ בָאֵשׁ אֶת הָעִיר וְאֶת כָּל שְׁלָלָהּ":
6 How is the legal procedure against a seduced city instituted? When the information shows that it really deserves to have a pronouncement of a seduced city made against it, the Great Tribunal appoints a commission who investigate and take evidence until they are convinced by clear testimony that the whole, or a majority of the city was really seduced and turned to the worship of idolatry; thereafter two abecedarians are commissioned to warn them and to bring them back to the fold; if they turn and repent, it is well, but if they hold on to their evil, the tribunal instructs all Israel to wage war against them, and they lay siege and array battle with them until the city is broken open, whenafter courts are established and they are put on trial. Each one against whom two witnesses testified that he worshiped idolatry after he received a warning, is separated. If all those who did worship constitute but a minority of the citizens, they are stoned and the rest of the citizens escape punishment. If it be found that a majority worshiped idolatry, they are all taken before the Great Tribunal, where their trial is finished, and all those who are found guilty of having worshiped idolatry are put to death by the sword. If the whole population of the city worshiped idolatry, all of them, women and children included, are put to death by the edge of the sword. Whether the entire city was seduced, or whether only a majority thereof, its seducers are stoned, and its entire booty is gathered in its main street. If it has no such street, it is mandatory to construct such street. If its street was without its boundary-line, a wall should be constructed beyond it, so as to incorporate it within its boundary-line, even as it is said: "Into the midst of the broad place thereof" (Deut. 13.17). Then, everything that liveth should be put to death, and all of its spoil, together with the property of the whole district should be burned in fire. And it is mandatory to burn it; for, it is said: "And shalt burn with fire the city, and all the spoil thereof" (Ibid.)