Sahih Muslim, Book 33, Hadith 135 (Muslim 4795)

It has been narrated on the authority of Ibn 'Umar who said:

The Messenger of Allah (ﷺ) forbade that one should travel to the land of the enemy taking the Qur'an with him.