It is narrated from Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said on the pulpit: "Ask Allah Almighty for beneficial knowledge, and seek refuge with Allah from knowledge that does not benefit."
Hadith Referenceمسند أبي يعلى الموصلي / مسند جابر / 1980
Hadith Gradingمحدثین:إسناده لين
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده لين . » «قال سعيد بن محمد السناري: قوى: مضى الكلام عليه [برقم 1927]» «أخرجه سنن ابن ماجه برقم: 3843، مسند ابویعلیٰ ترقیم الاثری: 1975»