THE PENAL CODE, 1860 (ACT NO. XLV OF 1860).
CHAPTER IV- GENERAL EXCEPTIONS
76. Nothing is an offence which is done by a person who is, or who by reason of a mistake of fact and not by reason of a mistake of law in good faith believes himself to be, bound by law to do it.
1. A mistake of fact shall be a ground for excluding criminal responsibility only if it negates the mental element required by the crime.