Abu Hurairah reported,

The Messenger of Allah ﷺ said, "The angel of death came to Musa عليه السلام and said to him, 'Answer your Lord.'Musa struck the angel of death in the eye and put it out.The angel returned to Allah عز وجل and said, "You sent me to a servant of Yours who does not want to die, and he has put out my eye."So Allah restored his eye and said, "Go back to My servant and ask him, 'Is it life you want? If you want life, then place your hand on the back of a bull. For every hair that your hand covers, you will live a year.'"Musa asked, "And then what?"The angel replied, "Then you die."Musa said, "Then let it be now, and soon. My Lord, bring me a stone's throw from the holy land."The Messenger of Allah ﷺ said, "By Allah, if I were there with him, I would show you his grave beside the road, by the red sand dune."

Ahmad 8172

Sahih

وبإسناده قال قال رسول الله ﷺ جاء ملك الموت إلى موسى عليه السلام فقال له أجب ربك قال فلطم موسى عين ملك الموت ففقأها قال فرجع الملك إلى الله عز وجل فقال إنك أرسلتني إلى عبد لك لا يريد الموت وقد فقأ عيني قال فرد الله عينه وقال ارجع إلى عبدي فقل الحياة تريد فإن كنت تريد الحياة فضع يدك على متن ثور فما توارت بيدك من شعرة فإنك تعيش بها سنة قال ثم مه قال ثم تموت قال فالآن من قريب قال رب أدنني من الأرض المقدسة رمية بحجر قال وقال رسول الله ﷺ والله لو أني عنده لأريتكم قبره إلى جنب الطريق عند الكثيب الأحمر

أحمد 8172صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 8172
Ahmad 8172