idiom
learn by heart
aprender de memoria
Meaning
to memorize something perfectly
Example
He **learned the poem by heart** for the recital.
Él aprendió el poema de memoria para el recital.