Anas reported God’s messenger as saying, “The search for knowledge is an obligation laid on every Muslim, but he who commits it to
those who are unworthy of it is like one who puts necklaces of jewels,
pearls and gold on swine.” Ibn Majah transmitted it. Baihaqi transmitted it in Shu'ab al-iman up to the word “Muslim”, saying that this
is a tradition whose text is well known but whose isnad is weak, it being
transmitted by many ways all of which are weak.
Anas reported God’s messenger as saying, “He who goes out in
search of knowledge is in God’s path till he returns.” Tirmidhi and
Darimi transmitted it.
Ibn ‘Abbas reported God’s messenger as saying, “One faqih has
more power over the devil than a thousand devout men.” Tirmidhi and
Ibn Majah transmitted it.