The Book of the Sunnah
كتاب المقدمة
Chapter 42: The reward of the one teaching the people the good
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."
"The Messenger of Allah said: 'The best things that a man can leave behind are three: A righteous son who will pray for him, ongoing charity whose reward will reach him, and knowledge which is acted upon after his death.'" (Hasan)Another chain with similar wording.
Chapter 43: He who dislikes having people walk behind him
"The Prophet walked on a very hot day towards Baqi' Al-Gharqad (graveyard of Al-Madinah), and the people were walking behind him. When he heard the sound of their shoes, it affected his soul so he sat down until he made them go ahead of him, lest that make him feel too proud."
Chapter 44: The directive regarding seekers of knowledge
"When we came to Abu Sa'eed Al-Khudri, he would say: 'Welcome, in accordance with the injunction of the Messenger of Allah, for the Messenger of Allah said to us: "The people will follow you; they will come to you from all parts of the earth seeking to understand the religion. So when they come to you, take care of them."
Chapter 45: Gaining benefit from knowledge and acting in accordance with it
The Prophet said: "Whoever seeks knowledge for a reason other than the sake of Allah, or intends it for a purpose other than for the sake of Allah, let him take his place in hell."
Chapter 46: One who is asked about knowledge but conceals it
The Prophet said: "There is no man who memorizes knowledge then conceals it, but he will be brought forth on the Day of Resurrection bridled with reins of fire." (Hasan)Another chain with similar wording.
"By Allah, were it not for two Verses in the Book of Allah, I would never have narrated anything from him, meaning from the Prophet, were it not for the Words of Allah: Verily, those who conceal what Allah has sent down of the Book, and purchase a small gain therewith (of worldly things), they eat into their bellies nothing but fire. Allah will not speak to them on the Day of Resurrection, nor purify them, and theirs will be a painful torment. Those are they who have purchased error at the price of guidance, and torment at the price of forgiveness. So how bold they are (for evil deeds which will push them) to the Fire.'"
"The Messenger of Allah said: 'Whoever conceals knowledge which Allah has made beneficial for mankind's affairs of religion, Allah will bridle him with reins of fire on the Day of Resurrection."