Be nice to your Tenants and they will be nice to you too, especially when you want to arrange viewings which are disturbing to their stay.
You can have a short discussion with them to let them know about your intention to sell the property and find out if they intend to continue to stay.You would then be able to decide if you are selling the property with or without tenancy.
If the property is to be sold vacant, do give your Tenant ample notice (as per the Tenancy Agreement) for them to source for an alternative rental unit.
In the event the property is to be sold with tenancy, do inform your Tenant about the change of rental payment bank account number to avoid incorrect payment issues.
The deposit that you have received from the Tenant would be transferred to the Buyer. This will be handled by your Solicitor when they handle the sales proceeds.