Section 298(2)(m) in The U.P. Municipalities Act, 1916
(m)prohibiting or regulating, with a view to promoting the public safety or convenience, any act which occasions or is likely to occasion a public nuisance and for the prohibition or regulation or which no provision is made under this heading;