Washing those upon whom the word “martyr” has been applied
For example, one who dies from the plague, one who dies by drowning, one who dies by burning, and so on. All of them are washed by consensus, just as Umar (may Allah be pleased with him), Uthman (may Allah be pleased with him) and Ali (may Allah be pleased with him) are all martyrs, yet they were washed, shrouded, and the funeral prayer was offered for them.
(Nawawi, may Allah have mercy on him): All of these people will be washed without disagreement, and their funeral prayer will also be offered.
(Ibn Hazm, may Allah have mercy on him): He holds the same view.