At least 30 people have been killed in Boko Haram raids on two villages in northeast Nigeria, vigilantes have said.

Gunmen on bikes and in vans stormed the remote villages of Yakhari and Kachifa on Friday and Saturday, said Mustapha Karimbe, a local vigilante assisting the military in the fight against Boko Haram Islamists.

"The attackers killed 30 people in two separate attacks on the two villages last night (Friday) and on Saturday morning (yesterday)," Karimbe told AFP adding that they also looted and stole cattle.