All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His slave and messenger.
If the person who is appointed to be in charge of the mosque is responsible for leading the people in prayer and calling the Athaan, then scholars held different opinions regarding whether it is permissible for him to receive a salary in return for his service or not. The preponderant opinion is that it is permissible for him to receive a salary if he is poor and in need of the money, and the mosque requires him to carry out the tasks entrusted to him on a full-time basis.
It should be noted that the Caliph or Muslim leader is entitled to a salary from the public treasury and there is no disagreement among scholars in this regard as such a person dedicates his time to the service of the Muslims and is thus not able to make a living to provide for his household. In fact, Abu Bakr was the first Caliph to receive a salary from the public treasury and ‘Umar and the following Caliphs followed his example.