Section 12(2)(a) in The Maternity Benefit Act, 1961
(a)The discharge or dismissal of a woman at any time during her pregnancy, if the woman but for such discharge or dismissal would have been entitled to maternity benefit or medical bonus referred to in section 8, shall not have the effect of depriving her of the maternity benefit or medical bonus: