Sahih al-Bukhari, Book 56, Hadith 199 (Bukhari 2868)

Narrated `Abdullah bin `Umar:

Allah's Messenger (ﷺ) forbade the people to travel to a hostile country carrying (copies of) the Qur'an.