It is narrated from Sayyiduna Imran bin Husayn (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever devotes himself wholly to Allah (cutting himself off from all else), Allah suffices him against every burden and need, and provides for him from where he does not expect. And whoever devotes himself wholly to the world, Allah leaves him to the world itself."
Hadith Referenceالمعجم الأوسط / باب الجيم / 3359
Hadith Gradingمحدثین:إسناده ضعيف لضعف إبراهيم بن الأشعث
Hadith Takhrij«قال الهيثمي: فيه إبراهيم بن الأشعث صاحب الفضيل وهو ضعيف وقد ذكره ابن حبان في الثقات وقال يغرب ويخطئ ويخالف وبقية رجاله ثقات «مجمع الزوائد ومنبع الفوائد، ج 10، ص 303»» «أخرجه الطبراني فى «الصغير» برقم: 321»