Abdullah bin Umar reported,

The Messenger of Allah ﷺ forbade traveling with the Quran into enemy territory. Wazad added in another narration, "out of fear that the enemy might get hold of it."

Azami 14787

Sahih

عن عبد الله بن عمر قال

نهى رسول الله ﷺ أن يسافر بالقرآن إلى أرض العدو. وزاد في رواية: مخافة أن يناله العدو.

الأعظمي 14787صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Superior moral conduct
Chapter
Etiquette of the road, walking, and travel
Section
Prohibition of traveling with the Quran to the land of the hostile enemy
Numbering
Jami al-Kamil 14787 (2nd edition)
Azami 14787