Kenyan troops killed 34 al Shebab militants in two separate incidents on Saturday and Sunday in Somalia and two of its own soldiers were killed in an ambush, a military spokesman said.
On Saturday, the Kenya Defence Forces (KDF) killed 21 of the insurgents in the southern town of Afmadow in the ambush in which the two soldiers died.
David Obonyo, spokesman for KDF, said in a statement that on Sunday, Kenyan troops killed a further 13 fighters just north of Ras Kamboni, also in southern Somalia.
"The KDF soldiers pursued them following information of an intended probe attack. Following the incident, a middle level al Shebab commander has been detained, 13 militants were killed," Obonyo said, referring to a reconnoitre attack by al Shebab.
"Regrettably, KDF suffered two fatalities and five injuries. The injured were evacuated and are receiving medical attention," he said of the incident on Saturday. An improvised explosive device also damaged one of the Kenyan army's vehicles, he said.
He said from the two incidents, KDF troops had recovered 27 AK 47 rifles, five rocket propelled grenades, a pistol, two PKM machine guns and ammunition.
Somalia's government is battling to rebuild the Horn of Africa nation after more than two decades of conflict. Al Shebab ruled large parts of Somalia until 2011, when it was driven out of Mogadishu by African Union (AU) and Somali troops.
The militants, who aim to topple the Western-backed government, often inflate casualty numbers and downplay the number of their own fighters killed.
Abdiasis Abu Musab, al Shebab's military operation spokesman, told Reuters on Saturday their fighters had killed 12 soldiers in the Afmadow attack.
In January, Kenyan troops as part of the AU mission in Somalia (AMISOM) took heavy losses when al Shebab launched a dawn raid on their camp in El Adde near the Kenyan border. No exact casualty figure has been given.
Al Shebab said more than 100 soldiers were killed.