‘Abd Allaah bin ‘Umar said “The Apostle of Allaah(ﷺ) prohibited to travel with a copy of the Qur’an to the enemy territory. The narrator Malik said “(It is) I think lest the enemy should take it.
Sunan Abi Dawud Book 15, Hadith 134