Your friend can issue a legal notice to the person who tortures her and also can make a complaint against that person to the top management of the college besides sending a copy to the University registrar for this illegal act.
As a matter of fact they should have sanctioned leave with pay as per latest ruling on maternity leave.
In 2017, the law was amended to extend the period to 26 weeks. Out of the 26 weeks, up to eight weeks can be claimed before delivery. However, you need not structure your leaves in this manner—you can instead take the entire 26 weeks of leave after the delivery. Also, these are maximum periods of claim and you can claim the benefit for a smaller period as well.
An employer cannot dismiss a woman for taking maternity leave and cannot serve a termination notice to a woman on maternity leave which expires before the maternity leave ends. Also, an employer can’t change the terms of service to the woman’s disadvantage during her maternity leave.