Twenty-four people were killed when Boko Haram fighters opened fire on mourners, a local community leader said yesterday, in the second attack in northeast Nigeria this week after a relative lull.