Aminu Mohammed Adamu, who was detained for criticizing First Lady Aisha Buhari on Twitter, has issued an apology after being released from prison unconditionally.

He was released on Friday after authorities decided to drop the charges against him on compassionate grounds. Hours after being freed, the 23-year-old tweeted his gratitude to everyone, who helped him during the tough times.

He also apologized to Buhari, who he called "our mother," and added he never intended to hurt the first lady's feelings.

Some Nigerians reacted to Aminu's tweet by saying they expected him to seek forgiveness from his biological parents and not Aisha Buhari.

Twitter user Hassan Karasuwa said it was essential that Aminu expressed gratitude to all Nigerians who, regardless of religion, ethnicity or gender, stood by him throughout his ordeal.

Activist Rinu Oduala also criticized Aminu for seeking forgiveness from the same "mother," who allegedly violated his human rights.

Adamu had posted on June 8 a picture of Buhari with a caption, saying, "Mama is feeding fat on poor people's money."

He was then trailed by a team of detectives before being arrested in Dutse, North-west Nigeria, on Nov. 8, following which he was transported to Abuja. The police said the alleged offense contravened Section 391 of the penal code.

After detaining the student for nearly two weeks, the police finally arraigned him before the Federal Capital Territory High Court at Maitama last Nov. 29.

He was charged with "defamation, cyberstalking, and conspiracy," to which he pleaded not guilty.

However, the police dropped the charges against Adamu, a day after the National Association of Nigerian Students threatened a nationwide protest to demand his unconditional release.

The arrest of Adamu had sparked outrage on social media, with many people criticizing the first lady, describing her action as an abuse of power.

However, prosecution counsel Fidelis Ogbobe announced on Friday the withdrawal of the case against Muhammed, saying Buhari took the action following the intervention of well-meaning Nigerians.

Aisha Buhari
Nigeria's First Lady Aisha Buhari Flickr