The Prophet said: "Whoever teaches some knowledge will have the reward of the one who acts upon it, without that detracting from his reward in the slightest."
أَنَّ النَّبِيَّ ﷺ قَالَ مَنْ عَلَّمَ عِلْمًا فَلَهُ أَجْرُ مَنْ عَمِلَ بِهِ لاَ يَنْقُصُ مِنْ أَجْرِ الْعَامِلِ