I found this, hope it helps...
Redundancy during maternity leave
If a redundancy situation arises at any stage during an employee's maternity leave, you may not be able to continue to employ her under her existing contract of employment.
In these circumstances, you must offer her (before that contract ends) a suitable alternative vacancy, where one is available. This includes a vacancy with an associated employer or with a successor to the original employer.
The new job must start immediately after the end of the original one and must:
be suitable and appropriate for her to do, and
have terms and conditions that are not substantially less favourable to her than if she had continued to be employed under the original contract
If you fail to comply with these requirements and dismiss the employee, the dismissal may well be unfair. She may also have a claim for sex discrimination.
If you end up making an employee on maternity leave redundant because you had no suitable alternative work to offer her, the dismissal may be fair.
Note that, on dismissal:
her maternity leave period comes to an end, but
her entitlement to statutory maternity pay (SMP) continues until the end of the 39-week SMP period (if it hasn't already ended)
See our guide on making an employee redundant.
Dismissal on or after return to work from maternity leave
The dismissal of an employee will be automatically unfair if you dismiss her - or select her for redundancy in preference to other comparable employees - solely or mainly because she:
has taken maternity leave
benefited from the terms and conditions of employment to which she was entitled during that leave
failed to return from her maternity leave on time because you failed to give her any or adequate notification of the end date of her leave - see the page in this guide on notification and confirmation of maternity leave
Dismissal, selection for redundancy or other detrimental treatment in these circumstances may also amount to sex discrimination, for which employment tribunal compensation is uncapped.
However, a dismissal may be potentially fair if, on the employee's return from additional maternity leave, you could not offer her her old job you - or an associated employer - offered her suitable alternative employment which she unreasonably refused.
See the page in this guide on returning to work from maternity leave.
Dismissal on grounds unrelated to maternity leave
It is still possible for you to fairly dismiss an employee who is on - or who has recently returned from - maternity leave. However, the reason from the dismissal must:
be largely or wholly unrelated to her maternity leave
not be for any other reason that is unfair or discriminatory
You must comply with the correct statutory procedure when dismissing an employee. Use our interactive tool to find out how to end employment correctly.
Dismissal of replacement employees
You can fairly dismiss an employee you took on to replace an employee on maternity leave. However, make sure you inform them that their position is only for maternity cover before they start.