ספר המדות, A Righteous Person / Part I A Righteous Person / Part I · מא
Sefer HaMiddot 2052
מא. הַמּוֹרֶה הֲלָכָה בִּפְנֵי רַבּוֹ, חַיָּב מִיתָה, וְרָאוּי לְהַכִּישׁוֹ נָחָשׁ, וְנִקְרָא חוֹטֵא, וּמוֹרִידִין אוֹתוֹ מִגְּדֻלָּתוֹ, וְאָזִיל לִשְׁאוֹל בְּלֹא וָלָד.
41. One who rules a halachic (Jewish law) decision in the presence of his rabbi is liable to the death penalty, and it is fitting for a snake to bite him, and he is called a sinner, and he is cast down from his greatness, and he descends to Hell childless.