ספר המדות Memory · ו
Sefer HaMiddot 925
ו. עַל־יְדֵי מִצְוֹת מַעֲשִׂיּוֹת הָאָדָם נִתָּר מִמִּדַּת שִׁכְחָה וְנִקְשָׁר בְּמִדַּת זְכִירָה.
6. Through carrying out practical commandments, one is released from the measure of forgetfulness and is connected to the quality of memory.