Narrated Ibn `Abbas: I heard Allah's Apostle saying, "If the son of Adam had money equal to a valley, then he will wish for another similar to it, for nothing can satisfy the eye of Adam's son except dust. And Allah forgives him who repents to Him." Ibn `Abbas said: I do not know whether this saying was quoted from the Qur'an or not. `Ata' said, "I heard Ibn AzZubair saying this narration while he was on the pulpit."
Hadith Referenceصحيح البخاري / كتاب الرقاق / 6437
Hadith Gradingمحدثین:أحاديث صحيح البخاريّ كلّها صحيحة
Hadith Commentary: Before the revelation of Surah At-Takathur, this phrase continued to be recited like the Qur'an. Then, after the revelation of Surah At-Takathur, its recitation was abrogated. The subject matter is the same: it is an exposition of man's greed and covetousness. Further clarification is present in the following ahadith.
Source: Sahih Bukhari: Commentary by Maulana Dawood Raz, Page: 6437