Whoever contravenes the provisions of section 22 or section 23 shall be punishable with fine with which may extend to one thousand rupees, and if the person contravening in an association or other body of individuals, every member of such association or other body who knowingly or willfully authorizes or permits the contravention shall be punishable with fine which may extend to one thousand rupees.