Deuteronomy 13:10

13:10 You must stone him to death because he tried to entice you away from the Lord your God, who delivered you from the land of Egypt, that place of slavery.

sn Execution by means of pelting the offender with stones afforded a mechanism whereby the whole community could share in it. In a very real sense it could be done not only in the name of the community and on its behalf but by its members (cf. Lev 24:14; Num 15:35; Deut 21:21; Josh 7:25).