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]. (ID)
App reference (ID): Book 18, Hadith 284 (ID)
Arabic/English book reference (ID): Book 18, Hadith 1794 (ID)