I went to a mosque on a Friday. At the end of his statement, Imam Sahib said, "If the worshipers of a mosque do not pay the Imam's salary, their Namaz will not be valid." Hearing this, I went to the Imam of another mosque after Namaz. When I asked him about this, he said, "If Imam Sahib does not do any work other than Imamate, then it is obligatory for the worshipers to pay the Imam". I want to know,1. Namazs are also obligatory for Imam. Then Namaz must be performed even if he does not lead the Namaz. Is it obligatory (Faraz) for him to get paid? 2. If he does not do any work whereas he has chance to income except during prayers, will it be obligatory for him to get paid? Or is it wrong? Hepl me with references.