By Caroline Davies in Peshawar and Frances Mao in Singapore
The death toll has risen to 100 people after a mosque suicide bombing which targeted policemen in the city of Peshawar in Pakistan.
The mosque is within a high-security zone and an investigation is under way into how the bomber got in.
The attack, one of Pakistan’s bloodiest in years, has left scores more injured.
A Pakistani Taliban claim to have carried out the bombing was later denied by the militant group, which blamed it on a splinter faction.
In the past the Pakistani Taliban have refrained from claiming some attacks on mosques, schools or markets because they say they are at war with security forces and not the Pakistani people, but many doubt such denials.
On Tuesday, rescuers scrambled to retrieve worshippers buried in the rubble, pulling out nine people alive but recovering more of the dead. No-one remained trapped, local officials said.
“Terrorists want to create fear by targeting those who perform the duty of defending Pakistan,” said Prime Minister Shehbaz Sharif. He declared a national day of mourning.
The BBC saw ambulances racing in and out of the compound every few minutes.
More than 50 remain wounded, some of them critical.
Meanwhile, funerals have been carried out for more than 20 police officers, their coffins draped with the Pakistan flag. Most of the dead were members of the security forces.
Hundreds packed the funeral of Irfan Ullah, a police inspector killed in the explosion. Only a few days before, he had survived another attack – an ambush where some of his colleagues died.
Armed security guarded the prayers. Some attending cried quietly.
Mr Ullah left behind a wife and five children. At the graveside, his brother Muhammed Zahid described the family’s pain.
“When we first heard that there had been a blast, we started to call him,” Muhammed told our team. “The phone was ringing out which initially gave us hope. But when we asked the police, they told us that he had been killed. The fourth body I saw was his.”
“He was kind-hearted, friendly, ready to help others. He was also brave, he was never afraid of anything. We always used to tell him to be careful, but he used to reply: ‘No, it’s my duty’. It is a huge loss to our family.”
Between 300 and 400 police officers had been in the area at the time, Peshawar police chief Muhammad Ijaz Khan earlier told local media.
The mosque is in one of the most heavily controlled areas of the city, which includes police headquarters and intelligence and counter-terrorism offices. On Tuesday, local media lined the road outside the gates – the closest that security would allow.
Mr Sharif said those behind the attack had “nothing to do with Islam”. He added: “The entire nation is standing united against the menace of terrorism.”
The Pakistan Taliban ended a ceasefire in November, and violence has been on the rise in the country since. It is separate to the Afghan Taliban but shares the same hard-line Islamist ideology.
Militant activity has risen in Pakistan since the Taliban agreed a peace deal with the US and then seized power in Afghanistan in 2021.
There have been a number of attacks on Pakistani police and security personnel since the truce was abandoned. In December the Pakistani Taliban targeted a police station – like Peshawar, in the north-west, bordering Afghanistan – which officials said had led to the deaths of 33 militants.
Monday’s mosque blast took place around 13:30 (08:30 GMT) during afternoon prayers.
An entire wall of the building collapsed, and the mosque was covered in bricks and debris as people clambered over the rubble to escape.
UN Secretary General António Guterres condemned the attack, with his spokeswoman saying: “It is particularly abhorrent that such an attack occurred at a place of worship.”
The attack on the mosque took place at the start of a key week for Pakistani diplomacy.
On Monday, the president of the United Arab Emirates, Mohamed bin Zayed Al Nahyan, was due to visit Islamabad – although the trip was cancelled at the last minute because of bad weather.
On Tuesday, an International Monetary Fund delegation is meant to visit Pakistan as part of the process to unlock a bailout loan to prevent the country from defaulting.
Last March, Peshawar was the target of another bombing, which killed dozens in a Shia Muslim mosque in the majority Sunni Muslim country.
In the capital Islamabad, police issued a high alert and said security at all entry and exit points to the city had been increased.