تَعَلَّمُوا الْعِلْمَ، وَعَلِّمُوهُ النَّاسَ. تَعَلَّمُوا الْفَرَائِضَ، وَعَلِّمُوهَا النَّاسَ. تَعَلَّمُوا الْقُرْآنَ، وَعَلِّمُوهُ النَّاسَ. فَإِنِّي امْرُؤٌ مَقْبُوضٌ، وَالْعِلْمُ سَيُقْبَضُ، وَتَظْهَرُ الْفِتَنُ، حَتَّى يَخْتَلِفَ اثْنَانِ فِي فَرِيضَةٍ لَا يَجِدَانِ أَحَدًا يَفْصِلُ بَيْنَهُمَا
Translation: Learn knowledge and teach it to people; learn the prescribed duties and teach them; learn the Qur’an and teach it. I too will be taken from this world; knowledge will be taken away and trials will appear, until two people disagree about a prescribed share or duty and find no one able to settle their dispute.
Source: الدارمي
تَعَلَّمُوا means “learn,” while عَلِّمُوهُ means “teach it.” Both are plural imperatives, but one concerns acquiring knowledge and the other conveying it.
الْفَرَائِضَ concerns prescribed duties, particularly the subject of legally prescribed shares in the surrounding example. The later disagreement about a farīḍah illustrates the need for such expertise. الْقُرْآنَ is mentioned separately to emphasize its particular importance.