The residents say that the man was shot eight times by suspected police officers attached to Pangani Police Station and who were enforcing curfew orders, but the police point an accusing finger at suspected robbers.
In a police WhatsApp group that has most officers who operate within the city, there were claims that thugs were behind the murder.
"He was not shot by the police but armed robbers who shot him and left him to die on the road," an officer, reacting to an earlier post that accused the police, wrote in the WhatsApp group.
Area residents who spoke to Nairobi News said the man was killed at 8pm in Mathare Area 3 at a time when officers were enforcing curfew orders.
President Uhuru Kenyatta and Interior Cabinet Secretary Fred Matiang'i have in the past warned the police against using unnecessary force when enforcing curfew orders, but the officers seem to be ignoring the calls.