A child or an insane person killed on the battlefield must be washed with Ghusl, according to the correct Hanafi position.

Rulings on the Martyr: Definition, Washing, Shrouding, and Funeral Prayer