If there is no custody agreement preventing your daughter from residing with you then you should go get her. Your wife doesn't have the right to sign her over to someone else without your permission. Then you need to get a lawyer and get custody arrangements made, because absent that at any time...