In a statement released by his spokesman, Mr Stéphane Dujarric, in New York on Monday, Guterres responded to the massacre.
Reports say several others, including women, were kidnapped in an assault on rice farmers in the village of Koshobe, near the state capital of Maiduguri.
The attackers allegedly tied up the victims before slitting their throats in what President Muhammadu Buhari tagged as 'insane".
The UN president, describing the attack as "horrific," said that he hoped that those responsible for "these heinous crimes" would be brought to justice quickly.
The statement stated:
“The Secretary-General extends his deepest condolences to the families of the deceased and to the people of Nigeria.
“He wishes a swift recovery to the injured and calls for the immediate and safe return of the abductees and those still reported missing.
“The Secretary-General reaffirms the commitment of the UN to support the Government of Nigeria in its fight against terrorism and violent extremism and in its response to pressing humanitarian needs in the northeast of the country.”