Narrated Anas ibn Malik: The Prophet ﷺ passed by Hamzah who was disfigured (after being killed). He did not offer prayer over any martyr except him.
Brief Explanation
1؎: Since the Noble Prophet (sallallahu alayhi wa sallam) did not perform the funeral prayer (salat al-janazah) for the martyrs of Uhud, therefore some people have taken this to mean that he supplicated (made du'a) for them.
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
From this, the permissibility of performing the funeral prayer (salat al-janazah) for a martyr (shaheed) is established.
And Allah knows best.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 3137