The Judge, Malam Murtala Nasir (Al Misry), also ordered the teacher to pay N8,500 to the nominal complainant, Zainab, as compensation to defray her medical bill after he assaulted her.
The Judge made the ruling following the result of an out-of-court settlement made by both parties.
Earlier, the Prosecution Counsel, Insp Ibrahim Shuaibu told the court that Zainab reported that her teacher assaulted her at the Sabon Gari Police Station on September 5.
He said that Yusuf injured her on the face and body when he assaulted her after seeing her with another man.
Following an investigation, the prosecution said the teacher had a romantic relationship with Zainab.
The offense, he said, contravened the provisions of sections 216 and 211 of Sharia Penal Code 2002.
Yusuf pleaded not guilty to the charge