המלך לא דן ולא דנין אותו, לא מעיד ולא מעידין אותו
אלא מלכי ישראל מ"ט לא
משום מעשה שהיה דעבדיה דינאי מלכא קטל נפשא
אמר להו שמעון בן שטח לחכמים תנו עיניכם בו ונדוננו
שלחו ליה עבדך קטל נפשא שדריה להו שלחו לי' תא אנת נמי להכא (שמות כא, כט) והועד בבעליו אמרה תורה יבא בעל השור ויעמוד על שורו
אתא ויתיב א"ל שמעון בן שטח ינאי המלך עמוד על רגליך ויעידו בך ולא לפנינו אתה עומד אלא לפני מי שאמר והיה העולם אתה עומד שנאמר (דברים יט, יז) ועמדו שני האנשים אשר להם הריב וגו'
אמר לו לא כשתאמר אתה אלא כמה שיאמרו חבריך
נפנה לימינו כבשו פניהם בקרקע נפנה לשמאלו וכבשו פניהם בקרקע
אמר להן שמעון בן שטח בעלי מחשבות אתם יבא בעל מחשבות ויפרע מכם
מיד בא גבריאל וחבטן בקרקע ומתו
באותה שעה אמרו מלך לא דן ולא דנין אותו לא מעיד ולא מעידין אותו
[Mishnah] A King is not judged, nor does he serve as judge. He does not give testimony, nor does he testify.
[Gemara] Why isn't a king judged?
Because of an incident that occurred when King Yannai's servant killed someone.
Shimon Ben Shetach said to his fellow sages, pay attention to this matter and let us adjudicate!
They send Yannai a message, "Your servant has killed someone. Come before us here and testify as the Torah commands."
Yannai came and said before them. Shimon Ben Shetach said to him, "Yannai the King, stand on your feet and give testimony. And it is not before us that you that, but rather before the One who spoke and created the world, you stand.
Yannai replied, "I will not do as you say, but rather as your fellow judges command."
Shimon ben Shetach turned to his right, and the judges cast their eyes to the ground. He turned to his left, and those judges cast their eyes to the ground as well.
Shimon ben Shetach said to them, "Deep thinkers you all must be! Let the Master of Thoughts come and punish you."
Immediately, Gabriel came, struck them down, and they died.
At that moment, they declared, "A king is not judged, nor does he serve as judge. Does not testify, nor is he testified against."