1הזהירנו מלקלל הדיין. והוא אמרו אלהים לא תקלל. והעובר על לאו זה לוקה. (ואלה המשפטים, הלכות סנהדרין פרק כ"ו):
He prohibited us from cursing a judge. And that is His saying, "You shall not curse the powers" (Exodus 22:27). And one who transgresses this negative commandment is lashed. (See Parashat Mishpatim; Mishneh Torah, The Sanhedrin and the Penalties within their Jurisdiction 26.)
The Rambam's count of the 613 mitzvos. English: Rabbi Francis Nataf, Sefaria 2021 (CC-BY). Hebrew: Warsaw 1883. Via Sefaria. All the library · Jer’s Torah Page