Abu Dharr reported,

I was with the Prophet ﷺ, and when he caught sight of Uhud, he said, "I would not wish for it to be turned into gold for me, with even a single dinar of it remaining with me beyond three days, except for a dinar I would set aside to pay off a debt."Then he said, "Those who have the most are the ones with the least, except for the one who spends his wealth like this, and like this, and like this." Abu Shihab gestured in front of him, to his right, and to his left. "And such people are few."Then he said, "Stay where you are," and walked a short distance ahead. I heard a voice and wanted to go to him, but then I remembered his words, "Stay where you are until I come back to you."When he returned, I said, "Messenger of Allah, what was it I heard?" or, "What was that voice I heard?"He asked, "Did you actually hear it?"I said, "Yes."He said, "Jibreel عليه السلام came to me and said, 'Whoever among your nation dies without associating anything with Allah will enter Paradise.'"I asked, "Even if he has done such and such?"He answered, "Yes."

Bukhari 2388

Sahih

حدثنا أحمد بن يونس حدثنا أبو شهاب عن الأعمش عن زيد بن وهب

عن أبي ذر رضي الله عنه قال

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

البخاري 2388صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Borrowing
Chapter
Payment of debts
Numbering
Darussalam 2388
Bukhari 2388