Amr bin Hurayth reported,

It used to be said, "The two people who will face the harshest punishment on the Day of Resurrection are a woman who disobeyed her husband and a man who led people in prayer while they disliked him."Hannad reported that Jareer said that Mansur said, "We asked about the matter of the imam, and we were told that what was meant by this was only the tyrannical leaders. As for the one who upholds the Sunnah, the sin lies upon those who dislike him."

Tirmidhi 359

Sahih

حدثنا هناد حدثنا جرير عن منصور عن هلال بن يساف عن زياد بن أبي الجعد

عن عمرو بن الحارث بن المصطلق قال

كان يقال أشد الناس عذابا يوم القيامة اثنان امرأة عصت زوجها وإمام قوم وهم له كارهون قال هناد قال جرير قال منصور فسألنا عن أمر الإمام فقيل لنا إنما عنى بهذا أئمة ظلمة فأما من أقام السنة فإنما الإثم على من كرهه

الترمذي 359صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
Those who lead people in prayer while they dislike him
Numbering
Darussalam 359
Tirmidhi 359