Sahih al-Bukhari 6440
Sahih al-Bukhari · Book 81: To make the Heart Tender (Ar-Riqaq) · The Fitnah of wealth should be warded off
'Ubayy said (referring to the hadith above) , "We considered this as a saying from the Qur'an till the Surah (beginning with):
وَقَالَ لَنَا أَبُو الْوَلِيدِ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ ، عَنْ ثَابِتٍ ، عَنْ أَنَسٍ ، عَنْ أُبَىٍّ ، قَالَ كُنَّا نَرَى هَذَا مِنَ الْقُرْآنِ حَتَّى نَزَلَتْ {أَلْهَاكُمُ التَّكَاثُرُ }
"The mutual rivalry (for piling up of worldly things) diverts you' (102:1) was revealed."