Sahih al-Bukhari, Book 81, Hadith 29 (Bukhari 6201)

'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."