Rescuers on Wednesday recovered eight bodies and rescued 37 people alive from the wreckage of a collapsed four-story building in Nigeria's economic capital Lagos
Children had been attending an "illegal school" inside the residential building when the structure collapsed, officials said.
"Thirty-seven people were rescued alive and eight were recovered dead," Ibrahim Farinloye of the National Emergency Management Agency (NEMA) said in a statement.
Earlier officials said dozens of children were trapped inside the building which collapsed mid-morning in an area near Itafaji market on Lagos Island.
In chaotic scenes, panicked parents, local residents and shocked onlookers rushed to the area as police, firemen and medics staged a massive rescue operation.
A young man helping rescue efforts who gave his name only as Derin said "at least 10 children" were trapped inside but "thought to be alive."
An AFP reporter at the scene saw at least eight people pulled from the wreckage, including a small boy with blood on his face.
Covered in dust, he was alive but unconscious and appeared to be badly hurt.
One local resident who witnessed the moment of collapse said there was no warning.
"We were smoking outside when the building just collapsed," Olamide Nuzbah told AFP in pidgin English.
As rescuers worked furiously to reach those inside, distraught parents begged them to find their children.
"Please, save my child, save my child!" wept one traumatized mother whose 7-year-old daughter was trapped inside, as people tried to console her.
School bags, toys and clothes could be seen among the piles of rubble as a bulldozer tried to clear a path through some of the wreckage to help the rescue efforts.
Hundreds of local residents tried to help, passing water and helmets through to dust-covered rescuers working tirelessly to sift through the rubble, some of whom appeared to be distressed.
Many locals told AFP that the building, which was in an advanced state of disrepair, had been "earmarked" for demolition by the authorities in Lagos state.
"It is a residential building that was actually accommodating an illegal school," said Ambode, the state governor, confirming that most buildings in the area had been marked for demolition but saying some landlords had defied the move.
"We get resistance from landlords but we must continue to save lives," he said, pledging to step up measures against all structures that failed to meet the correct standards, saying they would be "quickly evacuated" and demolished.
Lagos, which has a population of 20 million people, is made up of a collection of islands.
One of them is Lagos Island, a densely-populated area which is one of the city's oldest neighborhoods.
It is characterized by its Afro-Brazilian architecture, a style brought over by thousands of freed slaves who headed back home after decades working the plantations in Brazil.
Despite efforts to renovate the area, a large number of abandoned buildings have been taken over by families or businesses, despite being dilapidated and unsafe.
Building collapses are tragically common in Nigeria, where building regulations are routinely flouted.
In September 2014, 116 people died -- 84 of them South Africans -- when a six-story building collapsed in Lagos where a celebrity televangelist was preaching.
An inquiry found it had structural flaws and had been built illegally.
And two years later, at least 60 people were killed when the roof collapsed at a church in Uyo, the capital of Akwa Ibom state, in the east of the country.