The Messenger of Allah (sal Allahu alaihi wa sallam) said: “The superiority of the learned over the devout worshipper is like my superiority over the most inferior amongst you (in good deeds). Allah, His angels, the dwellers of the heaven and the earth, even the ant in its anthill and the fish (in water) supplicate in favour of those who teach people knowledge.” [Tirmidhi]
The Messenger of Allah (sal Allahu alaihi wa sallam) said, "When Allah wishes good for someone, He bestows upon him the understanding of the Deen." [Bukhari]
Rasul Allah (sal Allahu alaihi wa sallam) said: "How lucky is that man who adopts humbleness without having scarcity, who considers himself inferior without having to beg for anything, who spends his own earned money in the right causes without disobeying Allah, who is kind to those having little means, and who remains in the company of learned men." [Tibrani]