Sayyiduna Abu al-Darda' (may Allah be pleased with him) reports this saying of the Prophet (peace and blessings be upon him): "The world is cursed and everything in it is cursed, except that by which the pleasure of Allah Almighty is sought."
Al-Tabarani recorded it; its chain contains a narrator, Khidash bin al-Muhajir, whom I do not know, and the rest of its narrators are thiqat (trustworthy).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17659