The warplane strafed Boko Haram fighters fleeing in pick-up trucks after raiding Dille, near Lassa in the south of Borno State, for several hours on Monday. The attackers fired on inhabitants and burned homes and churches.
"I counted 26 corpses yesterday evening," one of the residents, Dauda Illiya, told Reuters.
Most of the deaths occurred during the raid but cannon fire from the government jet also killed at least six civilians - four women and two children, residents said.
"The pilot was just spraying bullets anywhere ... People were running here and there. Many people were injured from the bullets," said a local man, Suleiman Haruna.
Nigeria's defence headquarters in Abuja did not respond to a request for comment on the incident, but a security source in Borno State confirmed the deployment of the military plane.
The residents and the security source said 20 militants were killed by local vigilantes who fought back, but this could not be confirmed as witnesses said the raiders carried off their dead in their trucks.
Nigeria's armed forces are facing a fierce offensive in the northeast by the Islamist group Boko Haram, whose marauding bands of fighters have stepped up attacks against towns and villages after kidnapping more than 200 schoolgirls in April.
That abduction triggered an international outcry and increased support from Western governments for President Goodluck Jonathan's fight against Boko Haram, which has killed thousands and abducted hundreds since launching an uprising in 2009.
Boko Haram, whose name means "Western education is sinful", says it wants to set up an Islamic state in Nigeria, whose population is split between Christians and Muslims.
With the abducted schoolgirls still missing three months after their kidnap, Jonathan faces criticism at home and abroad over the deteriorating security situation in Africa's leading oil producer and biggest economy.
Authorities and military experts fear Boko Haram, which has claimed bomb attacks in recent months in the capital Abuja and in the coastal commercial hub Lagos, is seeking to push its insurgency into the more prosperous south.
Nigeria's state security services said on Tuesday that a Boko Haram suspect and national army deserter, Aminu Sadiq Ogwuche, who was sought for alleged involvement in April 14 and May 1 bomb attacks in the Abuja area that killed 94 people, had been extradited to Nigeria from Sudan.
"Yes, he's with us", State Security spokewoman Marilyn Ogar told Reuters. She said Ogwuche was arrested by the international police agency Interpol in Sudan on a warrant from Nigeria.
The suspected militants who on Monday attacked Dille, which is not far from the Cameroon border, were believed to have come from Boko Haram's Sambisa forest stronghold where at least some of the kidnapped girls are thought to be held.
On Monday, Jonathan promised that the missing 219 girls, snatched on April 14 from Chibok, also in Borno State, would soon return home, teenage Pakistani activist Malala Yousafzai said after meeting him.
Malala, who became a global celebrity after surviving being shot in the head by the Taliban for campaigning for girls' education, was visiting Nigeria to support the international campaign for the release of the abducted Nigerian students.
Over 25 killed in Nigeria militant attack, government air strike
NEWS FEED
Brazil survives Japan scare to book round of 16 spot
Venezuela's earthquake death toll climbs to 1,719
Iran's Foreign Ministry: A delegation from republic will visit Qatar
Israel's Defense Minister says renewed war with Iran is possible
UN Secretary-General pointed out that terrorists are adapting to new technologies
First meeting of the Digital Development Council held under the chairmanship of First Vice President Mehriban Aliyeva - PHOTO-UPDATED
National Data Pool established in Azerbaijan
Oman rejects Iran-backed tolls on ships crossing Strait of Hormuz
Mehriban Aliyeva: Artificial intelligence is playing an increasingly central role in ensuring states' security
Kazakhstan and Georgia sign strategic partnership agreement
Ukraine says it struck three bridges, ammunition depot and command posts
New round of Israel-Lebanon peace talks to be held on June 30 with US mediation
Moscow reiterates objection to Armenia’s EU course while maintaining EAEU benefits
Turkic World Week discusses dynamics of Turkic languages' development
International conference on teaching Turkic languages, literature and history in the context of modern challenges held - PHOTO
Galuzin: TRIPP's prospects are uncertain
Dubai welcomes first flight from Tehran after Middle East conflict pauses
White House: US is fulfilling its obligations under the ceasefire agreement with Iran
Official Moscow: Armenia is not considering closing Russian military base in Gyumri
Witkoff, Kushner to attend meeting with Iran, White House says
Russian deputy FM: Moscow and Baku have resolved all issues related to AZAL plane crash
Azerbaijani public rejects artificial campaign defending war criminals
Russia's ballistic missile strike on Dnipro kills 5, injures 29 - UPDATED
Five killed in shooting in northern Germany
Plenary session held as part of Turkic World Week
Trump says oil prices are falling
Trump: 'Tehran requested meeting, it will take place tomorrow in Doha'
EU countries inject 22 bcm of gas into underground storage for winter season
100th anniversary of the First Turkological Congress to be marked at UNESCO
Participants of First Turkological Congress centenary event visit Alley of Honor
Azerbaijan approves visa-free agreement with Ecuador for holders of diplomatic and official passports
Peskov: Our position on resolving the Ukraine conflict remains unchanged
Iran denies that technical meeting with US expected in coming days
Belarus to respond with full military potential if Ukraine crosses the border, deputy foreign minister says
Russia says it intercepted more than 400 Ukrainian drones
FSB arrests man planning to set fire to a synagogue — Russian media
“Aibyn-2026” International Military-Patriotic Youth Gathering ends
Iran president says country will receive $6bn of frozen funds held in Qatar
Special conference to be held in Khankendi during Turkic World Week
Turkic World Week dedicated to the 100th anniversary of the First Turkology Congress opens in Baku - UPDATED - PHOTO
OTS Secretary General: 100th anniversary of the First Turkological Congress is of historical significance for our peoples
Secretary General: Meeting held in Baku marks the beginning of a new stage in the history of the Turkic world
Aghdam and Shusha to host Turkic World Week events
Mirziyoyev: Turkology faces new tasks in the modern era
IDF: In response to Hezbollah violations, we struck 3 headquarters in southern Lebanon
Iran, Oman hold first meeting of joint committee on Hormuz, Iranian deputy FM says
President Ilham Aliyev addresses participants of the First Turkological Congress centenary event - UPDATED
Sadyr Japarov: The 100th anniversary of the First Turkological Congress will further strengthen friendship among Turkic peoples
ANAMA discovers 73 more mines and 329 UXO in liberated territories
Tokayev: Azerbaijan makes a significant contribution to strengthening ties among brotherly nations