It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) - probably as a saying of the Prophet (peace and blessings be upon him): "There are two greedy people whose greed is never satisfied: the one greedy for knowledge, and the one greedy for the world."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 11049