Can I sell my property while the tenants are still living there?

Can I sell my property while the tenants are still living there?

Yes, but you need to check the type of lease the tenants are on.

That means: