וַיֹּ֤אמֶר יְהוָה֙ אֶל־מֹשֶׁ֔ה מ֥וֹת יוּמַ֖ת הָאִ֑ישׁ רָג֨וֹם אֹת֤וֹ בָֽאֲבָנִים֙ כָּל־הָ֣עֵדָ֔ה מִח֖וּץ לַֽמַּחֲנֶֽה׃
And the LORD said unto Moses: ‘The man shall surely be put to death; all the congregation shall stone him with stones without the camp.’
Read midrashic interpretation of Numbers 15:35: and classical rabbinic exegesis.