Some Hadiths of Holy Prophet (P.BU.H)
"Seek knowledge from the cradle to the grave."
"The best form of worship is the pursuit of knowledge."
"The ink of the scholar is more sacred than the blood of the martyr."
"The acquisition of knowledge is compulsory for every Muslim, whether male or female."
"Thinking deep for one hour (with sincerity) is better than 70 years of (mechanical) worship."
"Seek for knowledge and wisdom, for whatever the vessel from which it flows, you will never be the loser."
"God has revealed to me, Whoever walks in the pursuit of knowledge I facilitate for him the way to heaven".
"Worship without knowledge has no goodness in it and knowledge without understanding has no goodness in it."
Hope that answers your question.
Credit - Alzakir Bhai..