اَللّٰهُمَّ انْفَعْنِيْ بِمَاعَلَّمْتَنِيْ وَ عَلِّمْنِيْ مَا يَنْفَعُنِيْ
Allaahumman-fa’nii bimaa ‘allamatanii wa ‘allimnii maa yanfa’unii. (Anas ibn Malik. Mustadrak Hakim #79/1879)
O Allah, cause me to benefit from what You have taught me and teach me what will benefit me.
Ameen
‘Ilm (knowledge) gets value from possibilities of action. To benefit from ‘ilm is to act according to it. Further, truly beneficial knowledge is one that benefits one in the Hereafter. The definition also includes the knowledge that benefits one in this world and which in turn leads to the former (Tuhfah al-Ahwadhi).
(Source: Khalid Baig’s commentary to du’aa #71 in the Accepted Whispers: Munajat-e-Maqbul)