Published : 26 Feb 2016, 04:00 PM
Updated : 11 Apr 2022, 09:41 PM
According to a BBC report, Hassan Sheikh Mohamud gave the death toll in an interview with a Somali television station, while defending his attendance at a memorial for the soldiers in Kenya.
Kenya's army, however, dismissed the number as ‘untrue’, but refused to give its own casualty figures for the assault in the southern Somali base of el-Ade.
The Islamist militant group said it had killed about 100 Kenyan troops.
If it is confirmed that 180 troops were killed, it would be al-Shabab's deadliest assault since it was formed nearly a decade ago, BBC said.
Its previous most deadly attack was the killing of 148 people in the day-long assault on Garissa University College in north-eastern Kenya last April.
Some Somalis accused President Mohamud on social media of showing greater concern for the killing of Kenyans than his own nationals.
The President said it was important to pay tribute to the troops killed in el-Ade, which is in Somalia's south-western region of Gedo.
"When 180 or close to 200 soldiers who were sent to us are killed in one day in Somalia, it's not easy," he told Somali Cable TV.
"The soldiers have been sent to Somalia to help us get peace in our country, and their families are convinced that they died while on duty," he added.
Kenyan army spokesman David Obonyo said the Somali president's information was untrue.
"Ask the source of the information to clarify it. Maybe he knows his sources," BBC quoted him as saying.
"Secondly, we should stop trivialising the dead. They are not mere statistics. They ought to be treated with honour and respect," Col Obonyo added.