Sahih al-Bukhari 6590
Amr bin Khalid narrated to us that Laith told us. He narrated from Yazid (bin Abi Habib), Yazid from Abul Khair, Abul Khair from Hazrat Uqbah (ra), that the Prophet (saw) came out one day and offered the funeral prayer for the people of Uhud in the same way as he (saw) used to offer the funeral prayer for a deceased person. Then, having finished, he returned to the pulpit and said: “I am your forerunner and I am a witness over you. By Allah, even now I am looking at my Pool, and I have been given the keys of the treasures of the earth,” or he said: “the keys of the earth. By Allah, I do not fear for you that you will associate partners with Allah after me, but I fear for you that you may vie with one another in greed for the world.”
AI-translated by Islam-Today