The identity of the deceased could not be known yet.
Sarder Iqbal Hossain, officer-in-charge of Kochua Police Station, said that a gang of robbers entered the house of one Samed Hawlader when he came out to respond to the call of nature.
The robbers held the residents of the house hostage at gunpoint and looted Tk 50,000, mobile phones and gold ornaments before trying to flee.
But villagers came out hearing screams for help and caught one of the robbers. The man was critically injured in the mob beating that followed.
He was later taken to Kochua Upazila Health Complex where doctors pronounced him dead.