I would recommend discussing with the tenant your plans. In most cases tenants have the right to regulate showings. How much notice, time of day, etc. Try to construct a win-win arrangement so your tenant realizes that you are sensitive to their needs. Is it possible that the new owner might WANT the tenant to remain? How much notice will you be able to provide to the tenant that they need to move?