28. (l) * * * * *
(2) On the motion of both the parties made not earlier than six months after the date of the presentation of the petition referred to in sub-section (1) and not later than eighteen months after the said date, if the petition is not withdrawn in the meantime, the district court shall, on being satisfied, after hearing the parties and after making such inquiry as it thinks fit, that a marriage has been solemnized under this Act, and that the averments in the petition are true, pass a decree declaring the marriage to be dissolved with effect from the date of the decree.
40A. (1) Where—
(a) a petition under this Act has been presented to the district court having jurisdiction by a party to the marriage praying for a decree for judicial separation under section 23 or for a decree of divorce under section 27, and
(b) another petition under this Act has been presented thereafter by the other party to the marriage praying for decree for judicial separation under section 23, or for decree of divorce under section 27 on any ground whether in the same district court or in a different district court, in the same State or in a different State,the petition shall be dealt with as specified in sub-section (2).