What is an Imam according to sunni scholars
What Is an Imam According to Sunni Scholars?
Sharh al-Mawaqif v8 p345
Imamate is general leadership in religious and worldly affairs. More precisely, the Imam is the successor to the Messenger in establishing the religion and protecting the Muslim community.
الإمامة: رياسة عامة في أمور الدين والدنيا لشخص من الأشخاص... والأولى أن يقال: هي خلافة الرسول في إقامة الدين وحفظ حوزة الملة

What Is an Imam According to Sunni Scholars?
Ghayat al-Maram fi Ilm al-Kalam p8
Imamate is a complete and universal leadership concerning both religious and worldly affairs. It includes protecting the religion, caring for the community, establishing the call through proof and the sword, defending against injustice, supporting the oppressed against oppressors, recovering rights from those who withhold them, and delivering those rights to their rightful recipients.
الإمامة: رياسة تامة، وزعامة عامة، تتعلق بالخاصة والعامة في مهمات الدين والدنيا، متضمنها حفظ الحوزة ورعاية الرعية، وإقامة الدعوة بالحجة والسيف، وكف الجنف والحيف، والانتصاف للمظلومين من الظالمين، واستيفاء الحقوق من الممتنعين وإيفاؤها على المستحقين.
