Sanhedrin 112 - Subverted City
The inhabitants of a subverted city - that is, a city the majority of whose residents were subverted into worshiping an idol - are executed by beheading, and not by stoning, like in the regular case of idol worship. However, there are many preconditions. The subverters have to be men from this city, and not their agents. People have to be subverted and not decide to worship idols on their own. Each person needs to receive a warning with two witnesses. A caravan lodging in the city, if it was not subverted, saves the city.
The property of the subverted city's residents is destroyed by burning, even that of the righteous ones - for they should not have resided with such neighbors.
Art: Egon Schiele - Yellow City