In transactions such as this, there are escrow agencies that may be of assistance. The agencies do charge for their services. I have also participated in closings such as this where the closing took place in the bank and once a bank transfer took place and transferred to a dummy account and then your account the deal was allowed to close. For more information, contact my office.
Unfortunately, in the small space provided for questions one is unable to get a full background of the story. In the situations such as you are explaining you should immediately seek the counsel of a capable attorney that practices in the area of family law or if you cannot afford an attorney, you should seek a social service organization in your area. This answer is general in nature and does not form an attorney client relationship. If you would like to get more information on this topic or to establish an attorney client relationship please contacts my office.