The remedy is to file a case for child custody in the court to claim the custody of your daughter. Since your daughter has been residing with her mother for past 3 years now it is unlikely that the court will grant you custody but you stand a fair chance to get visitation rights to see your daughter. The delay in filing of the case is a factor that may be considered against you. The court may also award joint custody if the welfare of child demands this.