Doctor Becoming a Judge
Interpreters have mentioned that whoever sees a doctor become a judge or a jurist, if he is a wise Muslim, his reputation may grow, and his rank may be elevated. However, if he is otherwise, calamities may befall him, and he might harm someone with his ignorance and audacity in medicine.
Per Ibn Sirin's Muntakhab al-Kalam fi Tafsir al-Ahlam