Hello and welcome to the Community, vaibhav-garg
We'll be happy to help you with your payroll query in QuickBooks Online.
First, please rollback (delete) the pay period in which the pension refund is showing and then re-run this to see if it is removed.
If you need any support rolling back, or if the refund is not removed completing this action, please contact our support team directly by chat or on 0808 234 5337. The agents available here will have access to set up a remote screenshare to view the payroll with you.
In addition, in rare circumstances where an employee wants to opt-out of the pension, but a refund isn't due, you can choose Cease Membership and no refund will be calculated.
Thank you for reaching Intuit QuickBooks Community for support - have a great day!