N.Y. Social Services Law § 132
2.
(f) If an applicant or recipient is required, pursuant to paragraph (c) of this subdivision, to participate in an appropriate rehabilitation program and refuses to participate in such program without good cause or leaves such program prior to completion of the program without good cause, provided that program completion shall be solely determined by the guidelines and rules of such rehabilitation program, or if an applicant or recipient has been suspended from the receipt of social security disability benefits or supplemental security income benefits by reason of noncompliance with requirements of the federal social security administration for treatment for substance abuse or alcohol abuse, the person will be disqualified from receiving public assistance as follows: