It has been narrated by Hammam b. Munabbih who said
This is what has been related to us by Abu Huraira from the Messenger of Allah (ﷺ). (With this introduction) he narrated a number of traditions. One of these was that the Messenger of Allah (ﷺ) said: Great is the wrath of Allah upon a people who have done this to the Messenger of Allah (ﷺ), and he was at that time pointing to his front teeth. The Messenger of Allah (ﷺ) also said: Great is the wrath of Allah upon a person who has been killed by the Messenger of Allah (ﷺ) in the way of Allah, the Exalted and Glorious.