Shabaab claimed responsibility Tuesday for a nighttime attack on two homes in northeastern Kenya's Mandera County.
The attack killed at least 14 people and injured 11 others, according to Mandera County Commissioner Alex Nkoyo.
The compound housed primarily quarry workers.
The attack began around 1 a.m. when a group of men using a variety of weapons attacked the compound, Nkoyo told CNN.
The commissioner said an explosive device -- something other than a hand grenade -- was used to blow open a gate to the compound. The attackers then entered and started shooting.
Many people were sleeping outside to escape the heat. When the attack began, those who were able to do so ran inside the houses, followed by the gunmen, Nkoyo said.