It is narrated from Abu Wa'il that Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: Acquire knowledge, for none of you knows when people will come to him for questions and fatwas.
Brief Explanation
(Commentary on Hadith 157)
In this, the importance and necessity of knowledge has been stated.
Abu Wa’il is Shaqiq bin Salamah.