Yahya related to me from Malik from Nafi that Abdullah ibn Umar said that the Messenger of Allah ﷺ forbade travelling with a Qur'an in the land of the enemy. Malik commented, "That is out of fear that the enemy will get hold of it."
أَنَّهُ قَالَ نَهَى رَسُولُ اللَّهِ ﷺ أَنْ يُسَافَرَ بِالْقُرْآنِ إِلَى أَرْضِ الْعَدُوِّ