Muhammad bin Sirin (may Allah have mercy on him) said that Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) said: I shall remove so-and-so from the office of judge, and I shall give it to a man whom a wicked person will fear when he sees him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20299