Section 282(2) in The U.P. Municipalities Act, 1916
(2)Provided that when, on any land in respect of which such notice is issued, the act prohibited has been practised in the ordinary course of husbandry for the five successive years next preceding the date of prohibition, compensation shall be paid from the municipal fund to all persons interested therein for damage caused to them by such prohibition.