Parshas Kedoshim · Passuk 19:36
Chabad.org — English translation + Rashi
Torah Temimah on Vayikra 19:36 · Chullin 110b parallel
It shall be for you — Any positive commandment whose reward is stated beside it — the court is not punished for failing to enforce it.
Classical derasha (TT)
Honest measures carry their own stated reward; beis din is not flogged for non-enforcement of such mitzvos.