Section 21(1)(i) in The U.P. Urban Buildings (Regulation of Letting, Rent and Eviction) Act, 1972
(i)for the purposes of a charitable trust, the objects of which provide for discrimination in respect of its beneficiaries on the ground of religion, caste or place of birth ;