Ibn ‘Abbas reported God’s messenger as saying, “Some among my people will become learned in religion, will recite the Qur’an, and say that they will go to princes and get some of their worldly goods, but withdraw from them with their religion. That cannot be; for, as what is gathered from tragacanth trees consists only of thorns, so what is gathered from drawing near to them consists only of . . . ” Muhammad b. as-Sabbah said that he obviously meant “sins." Ibn Majah transmitted it.
Hadith Referenceمشكوة المصابيح / كتاب العلم / 262
Hadith Gradingالألبانی:ضعيف | زبیر علی زئی:إسناده ضعيف
Hadith Takhrij´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده ضعيف، رواه ابن ماجه (255) ٭ الوليد بن مسلم مدلس و عنعن و فيه علة أخري و ھي جھالة عبيد الله بن أبي بردة .»
Hadith Authentication: Its chain of narration is weak. ◄ Its narrator, Walid bin Muslim ash-Shami rahimahullah, was trustworthy, truthful, and a mudallis, and this narration is «عن», therefore it is weak. ◄ Ubaydullah bin Mughira bin Abi Burdah is of unknown status (majhool al-haal). Hafiz Dhahabi said: «غير معروف»[الكاشف 2؍205 ت3641]
Source: Adwa al-Masabih fi Tahqiq Mishkat al-Masabih, Page: 262