At least 20 people were wounded in a blast at a Kabul wedding late Saturday, a local hospital said, while a witness said he had seen many dead bodies at the scene.
The explosion came just as the US and the Taliban are widely expected to sign off on a deal that would see American troops begin to depart Afghanistan in return for various security assurances from the insurgents.
"#Kabul #Afghanistan explosion in a hotel during a wedding party, about 20 patients arrived up to now at our hospital #masscasualty," the Italian-run Emergency hospital of Kabul said on Twitter.
Interior ministry spokesman Nasrat Rahimi said the blast occurred in a west Kabul wedding hall around 10:40 pm (1810 GMT).
He shared on Facebook photos showing several apparent bodies inside a dining area.
Afghan weddings are epic and vibrant affairs, with hundreds or often thousands of guests celebrating inside industrial-scale wedding halls where the men are usually segregated from the women and children.
Mohammad Farhag, who had been at the wedding, said he had been in the women's section when he heard a huge blast in the men's area.
"Everyone ran outside shouting and crying," he said.
"For about 20 minutes the hall was full of smoke. Almost everyone in the men's section is either dead or wounded. Now, two hours after the blast, they are still taking bodies out of the hall."
No group immediately claimed responsibility.
Government spokesman Feroz Bashari said the blast was "a clear sign that terrorists can't see Afghans express happiness."
"You can't make them bow by killing them. The perpetrators of tonight's attack shall be held responsible," he wrote on Twitter.
Insurgents have periodically struck Afghan weddings, which are seen as easy targets because they frequently lack rigorous security precautions.
On July 12, at least six people were killed when a suicide bomber attacked a wedding ceremony in the eastern Afghan province of Nangarhar. The Islamic State group, which has a growing footprint in the region, claimed the blast.
Expectations are rising for a deal in which the US would start withdrawing its approximately 14,000 soldiers from Afghanistan after a two-decade war that has turned into a stalemate.
US President Donald Trump has said since the start of his presidency that he wants troops out of the country where Washington has spent more than $1 trillion on military operations and reconstruction since 2001.
In return for the US departure, the Taliban would commit to various security guarantees, including that the Islamist hardliners who long harboured Al-Qaeda would not allow Afghanistan to once again become a jihadist haven.
On Friday, Ahmadullah Azkhundzada, brother of Afghan Taliban leader Haibatullah Akhundzada, was among four people killed in a blast at a mosque in Pakistan's southwestern Balochistan, a senior official with the provincial government said.
Dozens of people feared dead or wounded, according to officials; more than 1,000 people had been invited to the party, say witnesses.