At least 17 people have been killed after an apartment building in Egypt's capital collapsed.
Rescuers and neighbours frantically dug through rubble with their hands to find survivors at the scene in Cairo's eastern Matariya district, authorities said.
The collapse highlights the long-standing problem of shoddy construction across Egypt, as neighbours said the seven-storey building had several floors illegally added onto it.
Egyptian developers seeking bigger profits frequently build without permits amid a nationwide housing shortage, rampant corruption and lax government oversight.
The building caved in at around 1.30am as many inside slept, witnesses said.
Bulldozers roared into the neighbourhood's narrow alleys after the collapse, removing chunks of cement, steel rods, scattered clothes and bloody bed sheets. Local residents said workers looked for mattresses in the hope survivors would be found nearby.
Mamdouh Abdel-Qader, the head of Cairo civil defence, said rescuers had recovered 17 bodies from the collapse.
The official MENA news agency said workers pulled eight residents out of the rubble alive. Neighbours said those still buried made desperate mobile phone calls, begging for help.
"A man with his daughter was calling me saying they are trapped in darkness," said a dust-covered Ali Abdel-Fattah Ali, a government employee who moonlights as a mechanic in a nearby car repair shop.
"I tried to call back but there was no answer. I don't know what happened. His phone is still ringing."
Immediately after the collapse, Abeer Ismail, 25, called out the name of her mother-in-law, who lived on the second floor. Ismail said she had last visited the building on Sunday and could tell it was unsafe.
"You could see the steel rods popping out of the walls and cracks covered the walls," she said.
The son of the building's owner jumped off a balcony to escape the collapse, neighbours said. It is unclear who owns the building now as the owner died six months ago.
Officials and neighbours said that the building owner defied a court ruling issued five years ago and illegally built several extra floors on top of the original four-storey structure.
Abdel-Khaleq Abdel-Hadi, a resident who was not in the building at the time of the collapse, accused local authorities of accepting bribes to hold off the execution of the court order.
"This is extreme act of negligence by our government ... where souls of people are worth nothing," said Abdel-Hadi, whose family fled the building once they felt it shaking.
On its website, the state-run Al-Ahram newspaper quoted Matariya council housing official Salah Galal as saying a total of 37 other area buildings were ordered to be removed for being illegally built since 2012.
Mr Galal denied his staff took any bribes, saying police are responsible for executing such orders.
There was no immediate response from police officials.