The tennant pays now anyway. Of a landlord could charge more rent they would.
Two identical properties, one under mortgage and one that isn’t, have identical rental prices. The costs to the landlord are irrelevant.