A: There is nothing wrong in accepting payment in return for teaching Qur'an and teaching knowledge to people as they are in need of education. Teaching might pose a difficulty for teachers and do not allow them to earn a living. Therefore, the correct opinion is that there is nothing in accepting payment for teaching knowledge and helping people learn and memorize the Qur'an.
It was authentically reported from the Prophet (peace be upon him) that, Some of the Sahabah (Companions of the Prophet) went on a journey to some Arab tribes. The chief of the tribe was then bitten by a snake (or stung by a scorpion) and they tried their best to cure him but in vain. The people asked the group of Sahabah to recite Ruqyah (Qur'an and supplications recited over the sick seeking healing). So, one of the Sahabah went and recited Surah AlFatihah and blew over the chief who was cured. The Sahabah stipulated to take from them a flock of sheep in return for their Ruqyah and the people paid them what they agreed upon. The Sahabah did not divide the sheep until they asked the Prophet (peace be upon him) about the matter, and he replied, "You have done the right thing. Divide (what you have earned) and assign a share for me as well." (Related by AlBukhari in his Sahih [Authentic Hadith Book])The Prophet (peace be upon him) did not disapprove of what they had done. He (peace be upon him) also said, The most deserving thing for which you take payment is the Book of Allah. (Related by Al Bukhari in his Sahih)This shows that it is permissible to accept payment for teaching Qur'an the same as it is permissible in return for reciting Ruqyah.