As for when the judge is dismissed by the Imam who appointed him, or by another, there are two views. One of them is that he is not dismissed. This is the school of al-Shafi'i, because the Imam contracted this appointment for the benefit of the Muslims, and therefore he does not possess the right to dismiss him as long as his state remains sound, just as if one contracted a marriage on behalf of his ward, he would not have the right to annul it. The second view is that the Imam does have the right to dismiss him, based on what was narrated from Umar (may Allah be pleased with him), that he said: "I will surely dismiss Abu Maryam and appoint a man who, if the wicked see him, they will fear him." Thus, he dismissed him from the judgeship of Basra and appointed Ka'b ibn Sur in his place. Ali (may Allah be pleased with him) also appointed Abu al-Aswad, then dismissed him. He asked: "Why have you dismissed me, when I have neither betrayed nor committed a crime?" He replied: "I saw that your voice rises above the two litigants." Furthermore, the Imam possesses the right to dismiss his commanders and governors in the lands, and likewise his judges. Umar (may Allah be pleased with him) used to appoint and dismiss; he dismissed Shurahbil ibn Hasana from his governorship in the Levant and appointed Mu'awiya. Shurahbil asked him: "Did you dismiss me due to cowardice or betrayal?" He replied: "Because of neither, but I wanted a man stronger than a man." He also dismissed Khalid ibn al-Walid and appointed Abu Ubaydah. He would sometimes appoint some governors to both judicial and executive functions; for instance, he appointed Abu Musa to Basra for both its judgeship and its command. Then he would dismiss them, and those he did not dismiss, Uthman dismissed after him, except for a few. Therefore, dismissing a judge is more appropriate, and it differs from his dismissal upon the death of the one who appointed or dismissed him, because that entails harm, whereas in this case there is no harm, as he does not dismiss a judge until he appoints another in his place. For this reason, a governor is not dismissed by the death of the Imam, but he is dismissed by his dismissal. Abu al-Khattab also mentioned two views regarding his dismissal upon death; however, the most appropriate view, if Allah the Almighty wills, is what we have mentioned. As for if the judge's state changes due to immorality, loss of mental faculties, illness that prevents him from exercising his judicial duties, or the compromise of some of his conditions, he is dismissed by that, and it is incumbent upon the Imam to dismiss him, by a single view.
Section: The Imam has the right to appoint to the judiciary in his own land and elsewhere, because the Prophet (peace and blessings of Allah be upon him) appointed Umar ibn al-Khattab to the judiciary, and he appointed Ali and Mu'adh. Uthman ibn Affan said to Ibn Umar: "Your father used to..."
(19) He is Iyas ibn Sabih ibn Muhrish al-Hanafi. See his biography in: Akhbar al-Qudat by Waki' 1/269. (20) Fariqahu: Feared him. (21) Its verification was presented previously on page 18. (22) See: Irwa' al-Ghalil 8/234. (23) See for all of that: Tarikh al-Tabari 4/64-69. (24) See what was recorded by Waki' in: Akhbar al-Qudat 1/105. (25) Its verification was presented previously on page 6. (26) Its verification was presented previously in 1/275, 4/5.
فأمَّا إن عَزَلَه الإِمامُ الذى ولَّاه أو غيرُه، ففيه وَجْهان، أحدُهما: لا يَنْعَزِلُ. وهو مذهبُ الشَّافعىِّ؛ لأنَّه عَقَدَه لمصْلحةِ المُسلمين، فلم يَمْلِكْ عَزْلَه مع سَدادِ حالِه، كما لو عَقَد النِّكاحَ على مُوَلِّيَتِه، لم يكُنْ له فَسْخُه. والثانى، له عَزْلُه؛ لِما رُويَ عن عمرَ، رَضِىَ اللهُ عنه، أنَّه قال: لأعْزِلَنَّ أبا مَرْيَمَ (١٩)، وأُوَلِّيَنَّ رجلًا إذا رآه الفاجرُ فَرِقَه (٢٠). فعَزلَه عن قضاءِ البَصْرةِ، وولَّى كَعْبَ بنَ سُورٍ مكانَه (٢١). ووَلَّى علىٌّ، رَضِىَ اللهُ عنه، أبا الأسْوَدِ، ثم عَزَلَه، فقال: لمَ عزلْتَنى، وما خُنتُ، ولا جَنَيْتُ؟ فقال: إنِّى رأيتُكَ يَعْلُو كلامُك على الخَصْمَيْن (٢٢). ولأنَّه يَمْلِكُ عَزْلَ أُمَرائِه ووُلاتِه على البُلْدان، فكذلك قُضاتِه. وقد كانَ عمرُ، رَضِىَ اللهُ عنه، يُوَلِّى ويَعْزِلُ، فعَزلَ شُرَحْبِيلَ بنَ حَسَنَةَ عن ولايَتِه فى الشَّامِ، وولَّى مُعاويةَ، فقال له شُرَحْبِيلٌ: أمِن جُبنٍ عَزَلْتَنِى، أو خِيانةٍ؟ قال: مِن كلٍّ لا، ولكن أردْتُ رجلًا أقْوَى مِن رجلٍ. وعزلَ خالدَ بنَ الوليدِ، وولَّى أبا عُبيدَةَ. وقد كان يُوَلِّى بعضَ الولاةِ الحُكْمَ مع الإمارةِ، فولَّى أبا موسى البصرةَ قضاءَها وإمْرتَها. ثم كان يعزِلُهم هو (٢٣)، ومَن لم يَعْزِلْه، عزلَه عثمانُ بعدَه إلَّا القليلَ منهم. فعَزْلُ القاضى أولَى، ويُفارِقُ عَزْلَه بمَوْتِ مَن ولَّاه أو عَزَلَه؛ لأنَّ فيه ضَرَرًا، وهاهُنا لا ضَرَرَ فيه؛ لأنَّه لا يَعْزِلُ قاضيًا حتى يُوَلِّىَ آخَرَ مكانَه، ولهذا لا يَنْعَزِلُ الوالى بمَوْتِ الإِمامِ، ويَنْعَزلُ بعَزْلِه. وقد ذكرَ أبو الخطَّابِ فى عَزْلِه بالموتِ أيضًا وَجْهَيْن، والأوْلَى، إن شاءَ اللهُ تعالى، ما ذكَرْناه. فأمَّا إن تغيَّرتْ حالُ القاضى؛ بفِسْقٍ، أو زَوالِ عقلٍ، أو مرضٍ يَمنعُه مِن القضاءِ، أو اخْتلَّ فيه بعضُ شُروطِه، فإنَّه يَنْعَزِلُ بذلك، ويتَعيَّنُ على الإمامِ عَزْلُه، وَجْهًا واحدًا.
فصل: وللإِمامِ تَوْلِيَةُ القضاءِ فى بلدِه وغيرِه؛ لأنَّ النَّبِىَّ -صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ- وَلَّى عمرَ بنَ الخَطَّابِ القضاءَ (٢٤)، وولَّى عليًّا (٢٥) ومُعاذًا (٢٦). وقال عثمانُ بنُ عَفَّانَ لابنِ عمرَ: إنَّ أباك قد كان
(١٩) هو إياس بن صبيح بن محرش الحنفى. انظر ترجمته فى: أخبار القضاة، لوكيع ١/ ٢٦٩.(٢٠) فرقه: خافه.(٢١) تقدم تخريجه، فى: صفحة ١٨.(٢٢) انظر: إرواء الغليل ٨/ ٢٣٤.(٢٣) انظر لذلك كله: تاريخ الطبرى ٤/ ٦٤ - ٦٩.(٢٤) انظر ما أخرجه وكيع، فى: أخبار القضاة ١/ ١٠٥.(٢٥) تقدم تخريجه، فى: صفحة ٦.(٢٦) تقدم تخريجه، فى: ١/ ٢٧٥، ٤/ ٥.