Section 29
When right of private defence of body extends to causing death
The right of private defence of the body extends, subject to the restrictions mentioned in section 28, to the voluntary causing of death, or of any other harm, to the assailant if the offence which occasions the exercise of the right be of any of the descriptions hereinafter enumerated —
(a)
such an assault as may reasonably cause the apprehension that death will otherwise be the consequence of such assault;
(b)
such an assault as may reasonably cause the apprehension that hurt will otherwise be the consequence of such assault;
(c)
an assault with the intention of committing zina bil-jabar;
(d)
an assault with the intention of committing liwat;
(e)
an assault with the intention of abducting.
Syariah Penal Code 32