Sayyiduna Ibn Abbas (may Allah be pleased with them both) considered buying a copy of the Qur'an to be permissible and selling it to be disliked.