Jabir bin Abdullah reported,

The Messenger of Allah ﷺ passed through the market, entering from one of the upper districts of Madinah, with people on either side of him. He came across a dead lop-eared kid goat, picked it up by the ear, and asked, "Which of you would like this for a dirham?"They replied, "We would not want it for anything. What would we do with it?"He asked, "Would you like to have it for free?"They said, "By Allah, even if it were alive it would be defective, since it is lop-eared. So how about now, when it is dead?"He said, "By Allah, this world is more insignificant to Allah than this carcass is to you."

Muslim 7418

Sahih

حدثنا عبد الله بن مسلمة بن قعنب حدثنا سليمان يعني ابن بلال عن جعفر عن أبيه

عن جابر بن عبد الله

أن رسول الله ﷺ مر بالسوق داخلا من بعض العالية والناس كنفته فمر بجدي أسك ميت فتناوله فأخذ بأذنه ثم قال أيكم يحب أن هذا له بدرهم فقالوا ما نحب أنه لنا بشيء وما نصنع به قال أتحبون أنه لكم قالوا والله لو كان حيا كان عيبا فيه لأنه أسك فكيف وهو ميت فقال فوالله للدنيا أهون على الله من هذا عليكم

مسلم 7418صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Asceticism and heart-softening matters
Chapter
World is a prison for the believer and a paradise for the disbeliever
Numbering
Darussalam 7418
Muslim 7418