There was panic in Parliament on Thursday evening after Nyali MP Mohammed Ali entered the chamber with his gun.
Ali's gun was brought to the attention of the speaker by Gem MP Elisha Odhiambo.
Among the parliament rules, members are supposed to deposit their guns at the security desk.
"Mr. Speaker, I have noticed that Hon Mohamed Ali is carrying something behind his back resembling a gun. If that is true, then we are not safe," Odhiambo said.
Members wondered how the gun slipped through the tight security protocols.
MP Ali said he forgot to deposit his gun as he entered the chambers.
"My apologies, I forgot to leave my things outside. I am a human being. Mr. Speaker. Allow me to surrender," the MP said.
The incident led to a debate with Mbita North MP Millie Odhiambo urging for security measures since the country was becoming politically volatile.
"Even very well-meaning members can cause harm in the heat of the moment without intending. This should not be repeated," the lawmaker said.
Millie sought that Parliament installs gun detectors to avert such incidents.
Notably, Parliament has in the past witnessed violent incidents with MPs engaging in fistfights.
For instance, during the security bill debate, then Machakos senator Johnstone was involved in an ugly fight that saw his trousers get torn.
In October 2017, Embakasi East MP Babu Owino and Starehe's Charles Njagua were probed for fighting within the precincts.