Section 20(2)(d) in The U.P. Urban Buildings (Regulation of Letting, Rent and Eviction) Act, 1972
(d)that the tenant has done any act which is inconsistent with the purpose for which he was admitted to the tenancy of the building, or has without the consent in writing of the landlord used it for a purpose other than such purpose, or has been convicted under any law for the time being in force of an offence of using the building or allowing it to be used for illegal or immoral purposes;