וְהָאִ֞ישׁ אֲשֶׁר־יַעֲשֶׂ֣ה בְזָד֗וֹן לְבִלְתִּ֨י שְׁמֹ֤עַ אֶל־הַכֹּהֵן֙ הָעֹמֵ֞ד לְשָׁ֤רֶת שָׁם֙ אֶת־יְהֹוָ֣ה אֱלֹהֶ֔יךָ א֖וֹ אֶל־הַשֹּׁפֵ֑ט וּמֵת֙ הָאִ֣ישׁ הַה֔וּא וּבִֽעַרְתָּ֥ הָרָ֖ע מִיִּשְׂרָאֵֽל׃
Should the losing party act presumptuously and disregard the priest charged with serving there the Eternal your God, or the magistrate, that person shall die. Thus you will sweep out evil from Israel:
Torah Temimah points to Sanhedrin / Sifrei.
לבלתי שמוע אל הכהן. מלמד שהממרא על פי בית דין חייב.
English: Not to listen to the priest — this teaches that one who rebels against the court is liable.
The classic source for the law of the zaken mamre (the rebellious elder).
Derash on the verse (Bavli / Sifrei) — not a formal named middah of the 13.
A sage who openly rejects the ruling of the Great Sanhedrin and continues to teach against it is liable to death.