The Messenger of Allah ﷺ said, "The angel of death came to Musa and said to him, 'Respond to your Lord.' Musa
struck the eye of the angel of death and gouged it out.The angel returned to Allah the Exalted and said, 'You sent me to a servant of yours who does not want to die, and he has gouged out my eye.'Allah restored his eye to him and said, 'Return to my servant and ask, Do you want life? If you want life, then place your hand on the back of a bull, and for every hair your hand covers, you will live a year.'Musa asked, 'Then what?'The angel replied, 'Then you die.'Musa said, 'Then let it be now. My Lord, let me die within a stone's throw of the Holy Land.'"The Messenger of Allah ﷺ said, "By Allah, if I were there, I would show you his grave beside the road near the red sand dune."
عن رسول الله ﷺ: جاء ملك الموت إلى موسى عليه السلام فقال له: أجب ربك قال: فلطم موسى عليه السلام عين ملك الموت ففقأها قال: فرجع الملك إلى الله تعالى فقال: إنك أرسلتني إلى عبد لك لا يريد الموت، وقد فقأ عيني قال فرد الله إليه عينه وقال: ارجع إلى عبدي فقل: الحياة تريد؟ فإن كنت تريد الحياة فضع يدك على متن ثور، فما توارت يدك من شعرة فإنك تعيش بها سنة قال: ثم مه؟ قال: ثم تموت قال: فالآن من قريب، رب أمتني من الأرض المقدسة رمية بحجر. قال رسول الله ﷺ: والله لو أني عنده لأريتكم قبره إلى جانب الطريق عند الكثيب الأحمر.
Muslim narrated it in the Book of Virtues (2373), from Muhammad bin Rafi, who said, Abdul-Razzaq told us, Mamar told us, from Hammam bin Munabbih, who said, this is what Abu Hurairah told us, and he mentioned it.In the hadith, Musa struck the Angel of Death and put out his eye. This was because the angel had entered his house without permission and had not identified himself as the Angel of Death, saying to him, "Answer your Lord's call." So Musa struck him for entering his house without asking permission. When it became clear to him that this was the Angel of Death, and he was given the choice between life and death, he chose death.