In the Hanafi view, the battlefield martyr receives the funeral prayer, reflected in wa yusalla alayh.
Imam al-Shafi‘i holds that the special battlefield martyr is not subject to the ordinary funeral prayer, drawing on accounts of the martyrs of Uhud.
Hanafi jurists cite other narrations concerning prayer for martyrs. The dispute concerns funeral procedure, not denial of their spiritual merit.