Even if a rented property is sold, the right of tenant to continue is not affected, you will become tenatn of new landlord. This is known as “atornment of tenancy.” If you properly make use of tenancy law, you can force the landlord to sale the property to you on your terms. It depends on amount of rent you pay, if there is any rental agreement, in which State is the property situated and many other things.