At least 35 civilians have been killed and 13 more wounded as the Afghan military raided a Taliban hideout in the southern Helmand province on Monday.
According to provincial officials, the victims were attending a wedding party near the attack site when they were caught in the crossfire.
Officials said the house was being used by the Taliban to train suicide bombers.
"As a result of a joint operation in Musa Qala district of Helmand, 22 Taliban members were killed and 14 others arrested," the Afghan ministry said in a statement, adding that they arrested five Pakistani nationals and one Bangladeshi.
An investigation into reports of civilian casualties will be carried out, the ministry added.

Man charged with 10 counts of attempted murder after knife attack on UK train
Tanzania's Hassan sworn into office after deadly election violence
Powerful 6.3 quake kills at least 20 in Afghanistan, hundreds injured
Turkey set to call for action on Gaza as soon as possible, source says
Hamas hands over three more hostage bodies
India federal agency freezes Anil Ambani Group's $853 million properties
Israeli strike kills one in Gaza as sides trade blame for truce violations
UK police say mass stabbing on train not terrorist incident, two arrested
