The following excerpt is taken from “Islamic Theory of Evolution” by T.O. Shanavas pg. 62:

The Prophet (peace be upon him) said:

“Seek knowledge; for its acquisition is fear of God, its pursuit is worship, its discussion is prayer, search for it is holy war, its propagation is charity, its teaching is fraternity. For it is the index of right and wrong; it is the lighthouse of the road to Paradise. It provides consolation in loneliness, friendship in estrangement, fidelity through thick and thin, a protective arm against enemies, rapprochement towards foreigners, decor among friends [and] through knowledge, God is obeyed and worshipped. In knowledge the good is revealed, loved and implemented, for it is the prius of action, the first principle of every good deed”2

2. Al-Faruqi, I.R. The Cultural Atlas of Islam, p. 313.

The following excerpt is taken from “Maariful Hadith” under “Ilm/ Knowledge” pg. 202-203:

(311 859) Sayyidina Abu ad-Darda reported that he heard
Allah’s Messenger (saw) say, “If anyone will walk on a path to
learn (religion) then Allah will let him walk on one of the roads
of Paradise in return for that.” (And he also said,) “The angels
of Allah lower their wings in expression of pleasure (respect
and honour) for the seekers of knowledge. And for the scholar
of religion, all the creatures of the heaven and earth and even
the fish in the depth of water seek forgiveness of Allah. And,
the excellence qf the scholar over the worshippers is like the
excellence of the full moon over all the stars in the heaven. The
scholars are the heirs of the Prophets and the Prophets did not
leave behind dinars and dirhams, but they left behind only
knowledge. So, he who acquired it has indeed acquired a great
success, a great good fortune.”
(Musnad Ahmad, Jami’ Tirmizi, Sunan Abu Dawood, Sunan Ibn Majah,
Musnad Darami)

Commentary: In fact, the Prophet (saw) have brought only that
knowledge which serves as a guidance to Allah’s creatures, and that
alone is their legacy. They have brought that from Allah and that,
as we have stated earlier is the most valuable asset of this universe.
Tabarani has related in Mu’jam Awsat that Sayyidina Abu
Hurayrah (may Allah be pleased with him) once passed through a market where people were
occupied in their business. He asked them, “What is wrong with
you? You are occupied here while the Prophet’s legacy is being
distributed in the mosque. They rushed towards the mosque, but
came back to say, “Nothing is being given out there. Some people
are occupied in salah, some other in reciting the Qur’an and yet
others describe the lawful and unlawful – that is, injunctions of
Shuri’uh.” Sayyidina Abu Hurayrah said, “Exactly this is the Prophet’s legacy and what he has left behind.”(Jama’al Fawa’id vl p37)

(511 861) Sayyidina Abu Umamah (RA) reported that Allah’s
Messenger (saw) said, “Allah showers His Mercy on, and the
angels and the dwellers of the heavens and the earth including
ants in their nests and fish (in water) pray for, the creature who
teaches men that which is good and religion.” (Jami’Tirmizi) (Ibid, pg. 203)

References:

Noomani, Manzur (2012). Meaning and Message of the Traditions). http://www.islamibayanaat.com/MaarifulHadith.htm

Shanavas, T.O. (2005). Islamic Theory of Evolution: The Missing Link between Darwin and the Origin of Species. (p. 62)