واعلم أنه اقتضت حكمة هذا الدين أن يكون الخليفة رئيسه السياسي والديني وهي في هاته الأمة دينية نافعة في الدنيا والآخرة وتصرفه المديني مختص بخطط ومراتب لا تعرف إلا للخلفاء الإسلاميين. منها الصلاة والقضاء والجهاد والحسبة وهي بهذه المثابة لم تتجاوز عهد الخلفاء الراشدين وصارت بعد ذلك ملكا دنياويا بحتا إذ ترك الخلفاء أهم أصل من أصول الدين وهي الصلاة بالناس التي استخلف بها رسول الله - صلى الله عليه وسلم - أبا بكر فكان الخليفة على الأمة في الدين كما صار أميرا عليها في أمور سياستها في الدنيا. وعقد ولي الدين بن خلدون فصلا في معنى الخلافة والإمامة قال فيه: إذا كانت مفروضة من الله بشارع يقررها ويشرعها كانت سياسة دينية نافعة في الدنيا والآخرة وذلك أن الخلق ليس المقصود بهم دنياهم فقط فإنها
Know that the wisdom of this religion required that the caliph be its political and religious head; and it is, in this community, religious, useful in this world and the hereafter; and his religious [?] disposal is particular to offices and ranks not known except for the Islamic caliphs, among them the prayer, the judiciary, jihad and the hisba. In this capacity it did not go beyond the era of the Rightly Guided Caliphs, and after that it became a purely worldly kingship, since the caliphs abandoned the most important of the foundations of religion, which is leading the people in prayer, for which the Messenger of God, God bless him and grant him peace, appointed Abu Bakr as his deputy; so he was the caliph over the community in religion, as he became emir over it in the affairs of its governance in this world. Wali al-Din ibn Khaldun devoted a section to the meaning of the caliphate and the imamate, in which he said: When it is prescribed by God through a Lawgiver who establishes it and lays it down, it is a religious governance useful in this world and the hereafter. That is because what is intended by creatures is not their world alone, for it is