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.
Hadith Referenceمشكوة المصابيح / كتاب العلم / 220
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:إسناده ضعيف
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده ضعيف، رواه الترمذي (2647 وقال: حسن غريب .) والدارمي (لم أجده) ٭ خالد بن يزيد و أبو جعفر الرازي و الربيع بن أنس: کلھم حسن الحديث في غير ما أنکر عليه و قال ابن حبان في ربيع بن أنس: ’’والناس يتقون حديثه ما کان من رواية [أبي] جعفر عنه لأن فيھا اضطراب کثير‘‘ (کتاب الثقات 4/ 228) فالجرح خاص والخاص مقدم علي العام . فائدة: و روي الحاکم في المستدرک من حديث أبي ھريرة عن النبي ﷺ قال: من جاء مسجدنا ھذا يتعلم خيرًا أو يعلمه فھو کالمجاھد في سبيل الله ... (1/ 91 ح 309) وسنده حسن .»
Hadith Authentication: The chain of narration for this report is weak. ◄ The narrators of this report—Khalid ibn Yazid al-‘Utki, Abu Ja‘far al-Razi, and Rabi‘ ibn Anas—were considered hasan al-hadith (acceptable in hadith) by the majority of hadith scholars due to their authentication. However: Hafiz Ibn Hibban said regarding Rabi‘ ibn Anas: «والناس يتقون حديثه ما كان من رواية ابي جعفر عنه لان فيها اضطراب كثير» “And people avoid the narration of Abu Ja‘far (al-Razi) from him (Rabi‘ ibn Anas), because there is much confusion in it.” [كتاب الثقات ج 4ص 228] ↰ This is a specific criticism, therefore it takes precedence over the general authentication. That is, the narrations reported by Abu Ja‘far al-Razi from Rabi‘ ibn Anas are weak, while the narrations reported by other trustworthy and reliable narrators are hasan (good) or sahih (authentic).
Note: The reference from al-Darimi was not found. «والله اعلم»
Source: Adwa al-Masabih fi Tahqiq Mishkat al-Masabih, Page: 220