The remedy is to seek injunction and not declaration if you apprehend that the property owned by you may be sold. You are at liberty to sell your house to anyone you desire if there is no injunction issued by the court against you. There are no fetters on the right of the absolute title holder, except a stay order passed by the competent court, to sell his property.