(Abu)Khalid Al-Walibi narrated from Abu Hurairah and he (one of thenarrators) said:
"I do not know except that he attributed it to theProphet (ﷺ)" – "Allah says: 'O son of Adam, devote yourselfto Myworship, and I will fill your heart with contentment and takecare ofyour poverty; but if you do not do that, then I will fillyour heartwith worldly concerns and will not take care of yourpoverty.'" (RU)
English reference (RU): Vol. 5, Book 37, Hadith 4107 (RU)
Arabic reference (RU): Book 37, Hadith 4246 (RU)