Bunu Bukar Mustapha told AFP 23 people were killed as they returned from the funeral and “the remaining 42 were killed when they pursued the terrorists”.
Bulama said he thought the latest attack was in retaliation for the killing two weeks ago of 11 Boko Haram fighters by local residents when the fighters approached their village. The residents also captured 10 automatic rifles.
Boko Haram fighters have repeatedly attacked the surrounding Nganzai district.
Boko Haram has waged a decade-long insurgency in northeast Nigeria that has killed around 27,000 people and displaced more than two million.
The group has splintered between the Boko Haram faction loyal to historic leader Abubakar Shekau and an affiliate of the Islamic State group.
Shekau’s group tends to hit softer targets including civilians, while the Islamic State West Africa Province (ISWAP) has since last year ratcheted up its campaign against the military.