N.Y. Real Property Law § 227-F
* § 227-f. Denial on the basis of involvement in prior disputes prohibited. 1. No landlord of a residential premises shall refuse to rent or offer a lease to a potential tenant on the basis that the potential tenant was involved in a past or pending landlord-tenant action or summary proceeding under article seven of the real property actions and proceedings law. There shall be a rebuttable presumption that a person is in violation of this section if it is established that the person requested information from a tenant screening bureau relating to a potential tenant or otherwise inspected court records relating to a potential tenant and the person subsequently refuses to rent or offer a lease to the potential tenant.