The teenage suicide bomber was stopped from infiltrating the crowd by the dog belonging to a resident present at the wedding ceremony.
She detonated the bomb strapped around her body killing herself and the dog, Nigeria police spokesperson in Borno, Victor Isuku confirmed to local media.
The incident is reported to have occurred at a town called Belbelo a few hours after the killing of three suicide bombers in two foiled suicide attacks in nearby towns.
One civilian was injured in that attack and a truck partly damaged.
Maiduguri has been the city worst hit by Boko Haram’s eight-year-old campaign to create an Islamic caliphate in northeastern Nigeria.
These attacks have killed about 15,000 people and forced more than 2 million to flee their homes.