The attack took place at the town of Rabdhure South West Somalia.
Harakat al-Shabaab al-Mujahideen militants suffered losses after the AMISOM troops preempted the attack with artillery and machine gun fire.
The terror group has lost ground in the South Somalia and is operating from the north of Somalia.
The Harakat al-Shabaab al-Mujahideen has changed strategy and is focusing on small units to carry out suicide attacks on civilian and military targets.
The units also conduct guerrilla attacks besides attacking aid convoys to starve locals.