A 16-year-old Muslim boy was allegedly beaten by unidentified men in Kanpur for wearing a traditional skull cap and refusing to chant "Jai Shri Ram", police said on Saturday.