I've never heard of this happening before but wonder if anyone with more knowledge then me has?

If a company you left over 5 years ago continued paying their share of contributions into the pension pot unknown to the ex-employee for that time are they entitled to demand a refund of it all? I know if it was salary then of course it should be returned but don't know about pension contributions? Asking for a friend.

Joe