Gunmen have killed at least 29 people in an attack on a village in Nigeria's north-eastern Adamawa state, local officials say.

The Islamic State group (IS) has claimed responsibility for the attack, without specifying its motive.

Authorities and local residents say the militants raided a football pitch where people had been gathering and opened fire at random, before burning houses, places of worship and motorcycles.

State governor Ahmadu Umaru Fintiri shared photos of himself arriving at the scene, describing the attack as an "affront to our humanity".

The governor's media office said the attack lasted several hours in Guyaku, a village in the Gombi local government area.