N.Y. Social Services Law § 369
2.
(a) Notwithstanding any inconsistent provision of this chapter or other law, no lien may be imposed against the property of any individual prior to his or her death on account of medical assistance paid or to be paid on his or her behalf under this title, except:
(ii) with respect to the real property of an individual who is an inpatient in a nursing facility, intermediate care facility for individuals with developmental disabilities, or other medical institution, who is not reasonably expected to be discharged from the medical institution and to return home, and who is required, as a condition of receiving services in such institution under the state plan for medical assistance, to spend for costs of medical care all but a minimal amount of his or her income required for personal needs; provided, however, any such lien will dissolve upon the individual's discharge from the medical institution and return home; in addition, no such lien may be imposed on the individual's home if one of the following persons is lawfully residing in the home:
(b)
(i) Notwithstanding any inconsistent provision of this chapter or other law, no adjustment or recovery may be made against the property of any individual on account of any medical assistance correctly paid to or on behalf of an individual under this title, except that recoveries must be pursued:
(iii) In the case of a lien on an individual's home, any such adjustment or recovery shall be made only when: