حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَضْرَمِيُّ، ثنا مُحَمَّدُ بْنُ إِسْحَاقَ بْنِ أَيُّوبَ الرَّازِيُّ، ثنا جَرِيرٌ، عَنْ لَيْثٍ، عَنْ مُجَاهِدٍ، عَنِ ابْنِ عَبَّاسٍ رَضِي اللهُ عَنْهُمَا، أَحْسَبُهُ رَفَعَهُ إِلَى النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ قَالَ: " مَنْهُومَانِ لَا يَقْضِي أَحَدُهُمَا نَهْمَتَهُ: مَنْهُومٌ فِي طَلَبِ الْعِلْمِ، وَمَنْهُومٌ فِي طَلَبِ الدُّنْيَا "
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."