Section 12(3) in The U.P. Urban Buildings (Regulation of Letting, Rent and Eviction) Act, 1972
(3)In the case of a residential building, if the tenant or any member of his family builds or otherwise acquires in a vacant state or gets vacated a residential building in the same city, municipality, notified area or town area in which the building under tenancy is situate, he shall be deemed to have ceased to occupy the building under his tenancy :Provided that if the tenant or any member of his family had built any such residential building before the date of commencement of this Act, then such tenant shall be deemed to have ceased to occupy the building under his tenancy upon the expiration of a period of one year from the said date.