Abdullah bin Umar reported,

The Messenger of Allah ﷺ used to forbid traveling with the Quran into enemy territory, out of fear that the enemy might get hold of it.

Muslim 4840

Sahih

و حدثنا قتيبة حدثنا ليث ح و حدثنا ابن رمح أخبرنا الليث عن نافع

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

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

مسلم 4840صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Leadership
Chapter
Prohibition of traveling with the Mushaf to the land of the disbelievers if it is feared that it may fall into their hands
Numbering
Darussalam 4840
Muslim 4840