Nairobi senator Mike Sonko and other leaders allied to the Jubilee government have accused Cord leader Raila Odinga being an Al-Shabaab sympathiser following statements he made over the Friday attack in Somalia.
In a Twitter statement, Mr Odinga on Saturday said that they had "now established beyond doubt that tens of our soldiers died in the line of duty in Somalia following an attack by militants", something Jubilee leaders have said is a way of portraying Alshabaab as victors.
Sonko told Odinga to respect Kenyans and shun spreading of information for selfish interests.
"We respect you but stop using the lives of Kenyans for political mileage," he said.
In another reaction, Senate Majority Leader Kithure Kindiki reacted by telling Odinga that he is not the spokesman for the Kenya Defence Forces, and that he should never comment on what goes contrary to the official statement from the department.
"We must protect the dignity of our country. Fellow Kenyans should not talk as if they are the spokesperson of the Al-Shabaab," Prof Kindiki said.
The attack has come with conflicting reports on the number of Kenyan soldiers who perished in the attack at Kulbiyow camp with Alshabaab putting the number at 57 while the Kenyan government admits only nine.
Dagoretti South MP and Nairobi gubernatorial aspirant Dennis Waweru condemned leaders who rejoice whenever there is an attack on the Kenyan military.
"Some leaders are rejoicing in the attack instead of trying to protect our country from external attacks. He should stop that," he said.
The leaders spoke at a church service in Nairobi on Sunday.
ODM has maintained its stance that Kenya withdraws her forces from Somalia.