Rescue teams are continuing to pull bodies from the smoking rubble of a drug rehabilitation centre in the Afghan capital, Kabul, which was hit on Monday night in a devastating Pakistani air strike.

The attack on the Omid Addiction Treatment Hospital, which happened at about 21:00 local time (16:30 GMT), is the deadliest in recent violence between Pakistan and Afghanistan.

The strike happened as residents broke their daily fast for the Muslim holy month of Ramadan.

The death toll has continued to rise, and the Taliban government says it believes the number of people killed is about 400, although this figure has yet to be confirmed. Many people were also injured.

Mohammad Shafee, a patient in his 20s, survived the attack. I was in the kitchen helping to serve dinner when I heard a loud bang and ran for safety, he told the BBC. When I returned later, I found most of our colleagues and people in the dining room hit. Only five of us survived.

Maiwand Hoshmand, a doctor who works at the facility, said patients had just finished dinner on Monday and some were at congregational prayer when jets hit three parts of the centre.

I heard the sound of the jet patrolling, Omid Stanikzai, 31, a security guard at the centre, told the AFP news agency. There were military units all around us. When these military units fired on the jet, the jet dropped bombs and a fire broke out.

The whole place caught fire. It was like doomsday, said Ahmad, 50, who was also receiving treatment at the facility - a former military training camp that was turned into a makeshift rehab centre a decade ago.

My friends were burning in the fire, and we could not save them all, he told the Reuters news agency.

It is still unclear why the hospital was struck. Pakistan says Afghan claims that it attacked the facility on purpose are entirely baseless and maintains it precisely targeted military installations and terrorist support infrastructure.

Medics could be seen treating dozens of wounded people in the smouldering ruins of the single-storey building on Tuesday. A large crowd of people, whose relatives were being treated at the hospital, had gathered at the facility - hoping for updates on their loved ones.

The centre had become overloaded in recent years, when the Taliban government rounded up drug addicts from the streets of Kabul and other provinces.

Afghanistan, which has a major drug addiction problem, used to be the world's leading source of illegally produced opium. The Omid Addiction Treatment facility used to be known as Camp Phoenix during the war in Afghanistan.