Practice Relating to Rule 96. Hostage-Taking
Somalia’s Military Criminal Code (1963) states:
A commander who causes serious harm to lawful enemy belligerents who have fallen into his power, or to the sick, wounded or shipwrecked, by not according them the treatment prescribed by law or by international agreements … shall be punished, unless the act constitutes a more serious offence, by military confinement for not less than three years.
In 2011, in its report to the Human Rights Council, Somalia stated:
Somalia has not ratified AP II [1977 Additional Protocol II] and it is therefore not directly applicable to Somalia as a matter of treaty law. The Government is aware that many provisions of AP II represent customary IHL rules and therefore apply to the situation in Somalia. Such provisions include Article 4 providing guarantees to persons taking no active part in hostilities … due to the fact that these norms are reflected in Common Article 3 of the  Geneva Conventions.