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." (ES)
English reference (ES): Vol. 1, Book 1, Hadith 243 (ES)
Arabic reference (ES): Book 1, Hadith 250 (ES)