It was narrated from Abu Hurairah that:
The Prophet said: "The best of charity is when a Muslim man gains knowledge, then he teaches it to his Muslim brother." (TH)
English reference (TH): Vol. 1, Book 1, Hadith 243 (TH)
Arabic reference (TH): Book 1, Hadith 250 (TH)