Hi leedee,
It isn’t possible to transfer national insurance contributions from one person to another.
The only occasion this can be done, is if one person has received credits due to child benefit (for example) and have already paid a full tax year within the same year, then the credits can be transferred.
For further information regarding pension rates and entitlements you should contact DWP
Contact the Pension Service
Thank you.