Section 107(2) in The Representation of the People Act, 1951
(2)Where by an order under section 98 the election of a returned candidate is declared to be void, acts and proceedings in which that returned candidate has, before the date thereof, participated as a member of Parliament or as a member of the Legislature of a State shall not be invalidated by reason of that order, nor shall such candidate be subjected to any liability or penalty on the ground of such participation.