וְכָל־יִשְׂרָאֵ֔ל יִשְׁמְע֖וּ וְיִֽרָא֑וּן וְלֹֽא־יוֹסִ֣פוּ לַעֲשׂ֗וֹת כַּדָּבָ֥ר הָרָ֛ע הַזֶּ֖ה בְּקִרְבֶּֽךָ׃ (ס)
And all Israel shall hear, and fear, and shall do no more any such wickedness as this is in the midst of thee.
Sifrei Devarim
(Devarim 13:12) "And all of Israel shall hear and see": He (the inciter) is confined until the festival (when all come to Jerusalem), and he is put to death on the festival, as it is written "And all of Israel shall hear and see." These are the words of R. Akiva.