In Scotland, how long can a person legally sleep in another person's flat without being a tenant?
I expect that spending one night at a friend's is totally permissible, but being allowed to live there for months without paying that landlord would surprise me.
I have discovered that in civil partnerships/marriages, most tenancy agreements allow the sole tenant to live together with their partner, but this question would not be about that case.