Соответствующая норма
Practice Related to Rule 95. Forced Labour
Section A. General
Somalia’s Military Criminal Code (1963) states:
396. Compelling prisoners of war … to perform forbidden tasks. — 1. A penalty of military confinement for two to seven years shall be imposed on anyone who uses violence or intimidation against one or more prisoners of war to compel them to:
(b) perform tasks that are directly related to military operations or that are otherwise specifically forbidden by law or by international agreements.
2. If the violence consists of homicide, including even attempted murder or manslaughter, or of a severe or serious personal injury, the corresponding penalties prescribed in the criminal code shall be applied. The penalty of short-term imprisonment may, however, be increased. 
Somalia, Military Criminal Code, 1963, Article 396.
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 5 prescribing humane treatment of persons whose liberty ha[s] been restricted … due to the fact that these norms are reflected in Common Article 3 of the [1949] Geneva Conventions. 
Somalia, Report to the Human Rights Council, 11 April 2011, UN Doc. A/HRC/WG.6/11/SOM/1, § 75.