וַיֹּצִ֨יאוּ אֹת֜וֹ כָּל־הָעֵדָ֗ה אֶל־מִחוּץ֙ לַֽמַּחֲנֶ֔ה וַיִּרְגְּמ֥וּ אֹת֛וֹ בָּאֲבָנִ֖ים וַיָּמֹ֑ת כַּאֲשֶׁ֛ר צִוָּ֥ה יְהוָ֖ה אֶת־מֹשֶֽׁה׃ (פ)
And all the congregation brought him without the camp, and stoned him with stones, and he died, as the LORD commanded Moses.
Read kabbalistic (mystical) interpretation of Numbers 15:36: and classical mystical sources.