In The Name of Allaah, The Most Merciful, The Bestower of Mercy
Allaah [The Most High] said:
شَهِدَ ٱللَّهُ أَنَّهُ ۥ لَآ إِلَـٰهَ إِلَّا هُوَ وَٱلۡمَلَـٰٓٮِٕكَةُ وَأُوْلُواْ ٱلۡعِلۡمِ قَآٮِٕمَۢا بِٱلۡقِسۡطِۚ لَآ إِلَـٰهَ إِلَّا هُوَ ٱلۡعَزِيزُ ٱلۡحَڪِيمُ
Allah bears witness that La ilaha illa Huwa (none has the right to be worshipped but He), and the angels, and those having knowledge (also give this witness); (He is always) maintaining His creation in Justice. La ilah illa Huwa (none has the right to be worshipped but He), the All-Mighty, the All-Wise. [Surah Aal Imraan’ Aayah 18]
Allaah bore witness as well as mentioned the testimony of the scholars- the scholars of Tawheed and truth. Allaah mentioned their testimony to raise their status, make known their status and their trustworthiness, for indeed a sound and accepted testimony cannot be [given] except by trustworthy people. And due to this, Allaah ennobled them by mentioning their testimony alongside His testimony, and the testimony of the Angels. This is enough as an [evidence regarding the] nobility of the scholars – those scholars who act upon their knowledge and are sincere- because Allaah mentioned their testimony regarding the fact that Allaah is One- that all the religion [i.e. acts of worship, deeds, intentions and creed are to be established only] for the sake of Allaah and that there is no deity worthy of worship except Allaah. This is enough as a sign of nobility because Allaah mentioned their testimony alongside His testimony and the testimony of the angels regarding this great affair [i.e. that there is no deity worthy of worship except Allaah].
Therefore, it is obligated on every Muslim to pursue the knowledge [of the sharee’ah] through which Allaah will raise his station and that of the scholars. And regardless how much knowledge of philosophy a person acquires, or rhetoric, Tasawwuf and the other corrupt sciences, it will not increase him in anything except humiliation in the sight of Allaah and being distanced from Allaah; rather the knowledge by way of which Allaah raises its possessors to that high station, is the knowledge found in the Qur’aan and [authentic] Sunnah- the knowledge that was acquired by the Sahaabah, those who followed the Sahaabah, those who followed the followers of the Sahaabah in piety, and those who will come after them [i.e. these three generations] and follow them upon this path until the day of judgement; [and likewise], those who preceded them, such as the helpers the Prophets of old – those who were examples of upright guidance – are partners of the scholars in this testimony [i.e. that there is no deity worthy of worship except Allaah].
Marhaban Yaa Taalibal Ilm’ pages 161-162. slightly paraphrased