Hi eme,
For tax relief purposes, the maximum you can pay into your pension scheme is the equivalent of your gross employment/net self employment/net partnership income or £60000.
This is know as the annual allowance. Any sum paid into the pension scheme above this allowance, is taxable.
Any unused annual allowance from the three previous tax years can be added to the annual allowance, to increase the tax relief threshold.
Any sum that is taxable, must be reported in a self assessment tax return.
Have a look at
Check if you have unused annual allowances on your pension savings, and
HS345 Pension savings — tax charges (2023).
If your pension scheme allows, you can contribute to your pension scheme no matter your residency status.
Tax relief is only available if your are a 'relevant UK indidividual'.
Please have a look at the guidance at
Pensions Tax Manual PTM044100 - Contributions: tax relief for members: conditions for more information.
Thank you.