كتاب صلاة المسافرين وقصرها
6  
The Book of Prayer - Travellers
(33)
Chapter: The command to keep refreshing one’s knowledge of the Qur’an and that it is disliked to say I have forgotten such-and-such a verse, but it is permissible to say I have been caused to forget
(33)
باب الأَمْرِ بِتَعَهُّدِ الْقُرْآنِ وَكَرَاهَةِ قَوْلِ نَسِيتُ آيَةَ كَذَا. وَجَوَازِ قَوْلِ أُنْسِيتُهَا
Sahih Muslim 789 a

'Abdullah b. 'Umar reported Allah's Messenger (ﷺ) as saying:

The example of a man who has memorised the Qur'an is like that of a hobbled camel. If he remained vigilant, he would be able to retain it (with him), and if he loosened the hobbled camel it would escape.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ نَافِعٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ إِنَّمَا مَثَلُ صَاحِبِ الْقُرْآنِ كَمَثَلِ الإِبِلِ الْمُعَقَّلَةِ إِنْ عَاهَدَ عَلَيْهَا أَمْسَكَهَا وَإِنْ أَطْلَقَهَا ذَهَبَتْ ‏"‏ ‏.‏
Reference : Sahih Muslim 789a
In-book reference : Book 6, Hadith 267
USC-MSA web (English) reference : Book 4, Hadith 1722
  (deprecated numbering scheme)