Section 30(1) in The U.P. Urban Buildings (Regulation of Letting, Rent and Eviction) Act, 1972
(1)If any person claiming to be a tenant of a building tenders any amount as rent in respect of the building to its alleged landlord and the alleged landlord refuses to accept the same then the former may deposit such amount in the prescribed manner and continue to deposit any rent which he alleges to be due for any subsequent period in respect of such building until the landlord in the meantime signifies by notice in writing to the tenant his willingness to accept it.