You only pay on net rental income, not gross.
So, whatever is left over from your rental income on your Zakat date after any expenses including mortgages etc. will join the rest of your cash balance and will be Zakatable at 2.5%.
Approved by Mufti Amjad 12th August 2023