Four people were killed in a "terrorist attack" in Iraq's western province of Anbar, local media reported on Sunday.