Yes. Automatic enrolment legislation requires Statutory Sick Pay (SSP) to be treated as part of qualifying earnings.
During sick leave, pension contributions paid by both employers and employees are based on the employee’s actual earnings.
So unless the contract of employment or the workplace pension scheme rules offer more generous terms, both employer and employee contributions will decrease if sick pay is less than normal pay.