Sunan Ibn Majah (Ibn Majah 243)

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."