It has been narrated on the authority of Ibn 'Umar who said
The Messenger of Allah (ﷺ) forbade that one should travel to the land of the enemy taking the Qur'an with him.