Sahih al-Bukhari, Volume 4, Book 52, Hadith 233 (USC-MSA)

Narrated `Abdullah bin `Umar: Allah's Messenger forbade the people to travel to a hostile country carrying (copies of) the Qur'an.

حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ـ رضى الله عنهما ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى أَنْ يُسَافَرَ بِالْقُرْآنِ إِلَى أَرْضِ الْعَدُوِّ‏.‏

sunnah.com