Uqba bin Amir reported,

The Messenger of Allah ﷺ went out one day and prayed over the martyrs of Uhud the funeral prayer, then he turned toward the pulpit and said, "I am your forerunner, and I am a witness over you. By Allah, I am looking at my Pool right now, and I have been given the keys to the treasures of the earth, or the keys of the earth. By Allah, I do not fear that you will associate partners with Allah after me, but I fear that you will compete with one another over worldly gain."

Azami 9811

Sahih

عن عقبة بن عامر

أن رسول الله ﷺ خرج يوما فصلى على أهل أحد صلاته على الميت، ثم انصرف إلى المنبر، فقال: إني فرط لكم، وأنا شهيد عليكم، وإني والله لأنظر إلى حوضي الآن، وإني قد أعطيت مفاتيح خزائن الأرض أو مفاتيح الأرض، وإني والله ما أخاف عليكم أن تشركوا بعدي، ولكن أخاف عليكم أن تتنافسوا فيها.

الأعظمي 9811صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the Companions and reports about them
Chapter
Virtue of companionship
Section
Prophet ﷺ saying, "I am a forerunner for you
Numbering
Jami al-Kamil 9811 (2nd edition)
Azami 9811