Ibn 'Umar (May Allah be pleased with them) said:
The Messenger of Allah (ﷺ) forbade travelling to the land of the enemy carrying the Qur'an.[Al-Bukhari and Muslim]. (PT)
App reference (PT): Book 18, Hadith 284 (PT)
Arabic/English book reference (PT): Book 18, Hadith 1794 (PT)