N.Y. Debtor & Creditor Law § 199
If after settling the estate of any debtor, and after discharging his debts, entitled to a dividend, any surplus shall remain in the hands of his trustees, the same shall be paid to such debtor or his legal representatives.