Sunan an-Nasa'i, Book 11, Hadith 68 (Nasa'i 945)

It was narrated from Abdullah that:

The Prophet (ﷺ) said: "It is not right for any one of you to say: 'I have forgotten such and such a verse.' Rather, he has been caused to forget. Study the Qur'an, for it escapes from the heart of man faster than a camel escapes from its fetter. "