Allah's Messenger (ﷺ) said, "The example of the person who knows the Qur'an by heart is…

Sahih al-Bukhari Book 66 Hadith 53

Sahih al-Bukhari #5031

Virtues of the Qur'an 66:53

Narrated Ibn `Umar:

Allah's Messenger (ﷺ) said, "The example of the person who knows the Qur'an by heart is like the owner of tied camels. If he keeps them tied, he will control them, but if he releases them, they will run away."

Chapter: The learning of the Qur'an by heart and the reciting of it repeatedly

Grade: Sahih