Penal Code Section 103
When the right of private defence of property extends to causing death
103. The right of private defence of property extends, under the restrictions mentioned in section 99, to the voluntary causing of death or of any other harm to the wrongdoer, if the offence, the committing of which, or the attempting to commit which, occasions the exercise of the right, is an offence of any of the following descriptions:
(b) housebreaking by night;
(c) mischief by fire committed on any building, tent or vessel, which building, tent or vessel is used as a human dwelling, or as a place for the custody of property;
(d) theft, mischief or house-trespass, under such circumstances as may reasonably cause apprehension that death or grievous hurt will be the consequence, if such right of private defence is not exercised.
Please refer to the Attorney General's Chamber of Malaysia's website for the latest law.