If Yazīd were to ask me to count the doors of the mosques, I would not agree to do it for him, not to speak of my sealing the death-warrant of a Muslim signed by him.
—The great Imām Abū Ḥanīfah [d. 150AH/767CE] refusing the post of judge offered by the governor of Irāq Yazīd b. ‘Umar b. Hubayrah. For his refusal, he was imprisoned and whipped for a period of time.
[Mohammad Akram Nadwi, Abu Hanifah: His Life, Legal Methodology and Legacy. Interface Publications Ltd. UK. 2010.]