I agree with what Mr. Juarez said. In addition, your rights may be enlarged by the written lease you have with the LL. You need to carefully review the terms of the lease and if necessary contact a local attorney for assistance. If you had a Realtor involved in the rental, you might contact them for some information. Remember, Realtors are not allowed to practice law, but they have a lot of experience in this field and work on these matters on a daily basis.
Justia disclaimers below, incorporated herein.
It depends where you live and whether you have rent control in your city. The short answer is they can sell the house but they have to observe the law. It may be possible that you could be entitled to a relocation fee. It all depends where you live. Talk to a local lawyer. Best of luck.