Sheikh Muhammad al-Juhani
It is permissible to receive compensation for this work, just as it is permissible to receive compensation for teaching the Qur'ân. There is no prohibition in Islamic Law against doing so.
The reward that you may receive from Allah depends on your intention.
In case your intention is purely for Allah, but you accept compensation for your work in order to fulfill your needs or earn your livelihood, then this does not take away from the blessings of your work. By receiving pay for your work, you may devote more of your time to it instead of spending your time in earning a living doing something else. In this case, your reward will be to the extent of your sincerity to Allah.
In case your financial needs are already covered by some other means and you do not really need any compensation for this work, but you accept it without requesting it or seeking it, then you will still be rewarded for your intention.
If receiving monetary compensation is your sole purpose for your doing this work and something that you demand and look forward to, then you have the right to compensation and you are not sinful for taking it, but that compensation will be your reward.
And Allah knows best.
Source: Islam Today