ثُمَّthen لَاthere is no بُدَّescaping لَهُfor him مِنَfrom النِّيَّةِintention فِيduring زَمَانِthe time of التَّعَلُّمِlearning؛ إِذِfor / since النِّيَّةُintention هِيَis الْأَصْلُthe foundation فِيof جَمِيعِall الْأَفْعَالِactions لِقَوْلِهِfor his saying ﷺpeace be upon him: إِنَّمَاindeed / only الْأَعْمَالُactions بِالنِّيَّاتِare by intentions. حَدِيثٌa hadith صَحِيحٌauthentic.
Then one must have intention during the time of learning, for intention is the foundation of all actions, as the Prophet ﷺ said: Actions are but by intentions. This is an authentic hadith.