Jabir reported Allah's Apostle (ﷺ) narrating a hadith like this with a slight variation of wording.
Sahih Muslim Book 55, Hadith 3
← Previous Hadith
Who amongst you would like to have this for a dirham? They said: We do not like to have it even for less than that as it is of no use to us. He said: Do you wish to have it (free of any cost)? They said: By Allah, even if it were alive (we would not have liked to possess that), for there is defect in it as its ear is very short; now it is dead also. Thereupon Allah's Messenger (ﷺ) said: By Allah, this world is more insignificant in the eye of Allah than it (this dead lamb) is in your eye.
Sahih Muslim Book 55, Hadith 2 Next Hadith → I came to Allah's Apostle (ﷺ) as he was reciting:" Abundance diverts you" (cii. 1). He said: The son of Adam claims: My wealth, my wealth. And he (the Holy Prophet) said: O son of Adam. is there anything as your belonging except that which you consumed, which you utilised, or which you wore and then it was worn out or you gave as charity and sent it forward?
Sahih Muslim Book 55, Hadith 4
Sahih Muslim Book 55, Hadith 2 Next Hadith → I came to Allah's Apostle (ﷺ) as he was reciting:" Abundance diverts you" (cii. 1). He said: The son of Adam claims: My wealth, my wealth. And he (the Holy Prophet) said: O son of Adam. is there anything as your belonging except that which you consumed, which you utilised, or which you wore and then it was worn out or you gave as charity and sent it forward?
Sahih Muslim Book 55, Hadith 4