The Prophet (may Allah's peace and blessings be upon him) forbade taking the Qur’an along when traveling to a land of disbelief, where people do not believe in Islam, lest they might profane it. If it is most likely safe there, it is allowed to take it then.