Question
Is the opinion of the mosque administrators and the people who offer prayers important for the appointment of an Imam, or should the Imam claim a hereditary right to the Imamat (that is, because the father of the previous Imam used to lead the prayers)? We request the respected Islamic scholars to kindly provide answers to the above questions in the light of the Quran, Hadith, and Islamic jurisprudence. It would be a great favor.
Answer
This matter depends upon the opinion of the worshippers. Considering Imamat to be a hereditary right is incorrect.
- It is mentioned in the Hadith:
“Allah Almighty does not accept the prayer of a person whose leading the prayer is disliked by the people.”
(Sunan Abi Dawud, Book of Prayer, Chapter: A man leads the people in prayer while they dislike him, Hadith 593)

That is, if there is a religious defect in the Imam because of which the people dislike him, then such a person is not worthy of being an Imam.
(As mentioned in the general books)
And allah knows best and prophet Muhammad peace be upon him
Book: Fatawa Halimiyah, Page 87
