Departing from Madrid to Iceland, it is necessary to transship through the UK. As a personal holder of Spanish residency, do you need to apply for transit visas when transferring in the UK?

Departing from Madrid to Iceland, a transit through the UK is required. I need to check-in luggage for this journey. As someone with Spanish residence permit, do I need to apply for a transit visa when transiting in the UK?