Shaykh Muhammad Farooq Rafi
Benefits:
If the people dislike the imam because of some blameworthy act, i.e. because of his innovation (bid'ah), sinfulness (fisq), or some religious fault, then the prayer of such an imam is not accepted. But if the cause of the dislike for the imam is his firmly adhering to religious matters, then this dislike is not harmful at all to the imam; rather, he should firmly adhere to the religious rulings. Likewise, hatred of the imam due to some worldly enmity and grudge is not harmful to the imam either.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 1519