Abu Dharr reported,

I came to him while he was in the shade of the Kaabah, saying, "They are the greatest losers, by the Lord of the Kaabah. They are the greatest losers, by the Lord of the Kaabah."I said to myself, "What is the matter with me? Does he see something wrong in me? What is the matter with me?"So I sat down beside him while he kept repeating these words. I could not remain silent, and I was overcome by what Allah willed.I said, "Who are they, may my father and mother be sacrificed for you, Messenger of Allah?"He replied, "Those with the most wealth, except for the one who says like this, and like this, and like this."

Bukhari 6638

Sahih

حدثنا عمر بن حفص حدثنا أبي حدثنا الأعمش عن المعرور

عن أبي ذر قال

انتهيت إليه وهو في ظل الكعبة يقول هم الأخسرون ورب الكعبة هم الأخسرون ورب الكعبة قلت ما شأني أيرى في شيء ما شأني فجلست إليه وهو يقول فما استطعت أن أسكت وتغشاني ما شاء الله فقلت من هم بأبي أنت وأمي يا رسول الله قال الأكثرون أموالا إلا من قال هكذا وهكذا وهكذا

البخاري 6638صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Oaths and vows
Chapter
How the Prophet ﷺ used to swear
Numbering
Darussalam 6638
Bukhari 6638