A security source had told Reuters that eight unarmed civilians were killed in the assault 25 km (15 miles) north of Baghdad on Tuesday.
Islamic State said it killed 22 people, describing them all as members of a government-backed Sunni Muslim tribal force called the Tribal Mobilisation Forces.
More about: #Baghdad