Section 279 of Penal Code CAP 63: Stealing from the person; stealing goods in transit, etc.
If the theft is committed under any of the circumstances following, that is to say—
(a) if the thing is stolen from the person of another;
(b) if the thing is stolen in a dwelling-house, and its value exceeds one hundred shillings, or the offender at or immediately before or after the time of stealing uses or threatens to use violence to any person in the dwelling-house;
(c) if the thing is stolen from any kind of vessel or vehicle or place of deposit used for the conveyance or custody of goods in transit from one place to another;
(d) if the thing stolen is attached to or forms part of a railway;
(e) if the thing is stolen from a vessel which is in distress or wrecked or stranded;
(f) if the thing is stolen from a public office in which it is deposited or kept;
(g) if the offender, in order to commit the offence, opens any locked room, box, vehicle or other receptacle, by means of a key or other instrument,
the offender is liable to imprisonment for fourteen years.
Check the current authoritative text and amendment history before relying on this provision.