Ziyad, the freed slave of Sa'd, asked Sayyiduna Abdullah bin Abbas (may Allah be pleased with him) and Marwan bin al-Hakam about selling copies of the Qur'an (mushafs). Both of them replied: It should not be made an article of trade, except for what you labour on with your own hands; there is no harm in that. Ibn Wahb said: Imam Malik (may Allah have mercy on him) said to me: There is no harm in selling and buying copies of the Qur'an.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب البيوع / 11064