Employment Support Allowance (ESA) - Family support directory

When support is available
Women with sufficient National Insurance contributions, not working 16 hours or more a week. You can get new-style (contributory) ESA as well as Universal Credit.
Who qualifies
From 6 weeks before EWC to 2 weeks after the birth
More information
Can also qualify at other times due to illness or if risk to self or baby, or if entitled to maternity allowance during pregnancy.
Link
https://www.mygov.scot/help-you-can-get-if-youre-pregnant