A suicide bomber has targeted an Iraqi funeral, killing at least 25 people including a local Shiite militia leader.
Another 52 people were wounded in the bombing in Muqdadiyah, about 60 miles north of Baghdad. The town saw a wave of revenge attacks after a similar bombing in January.
The dead included a local commander in Asaib Ahl al-Haq, a powerful Shiite militia group that is part of the state-sanctioned Popular Mobilisation Forces, responsible for much of the security in the area.
The Islamic State group bombed a cafe frequented by militiamen in Muqdadiyah in January, killing at least 32 people and triggering a series of revenge attacks on Sunni mosques and civilians.
The New York-based Human Rights Watch blamed the reprisal attacks on powerful militias within the Popular Mobilisation Forces.
No one immediately claimed responsibility for the latest attack, which came a day after a double bombing in Baghdad claimed by the IS group killed 73 people.
The initial blast ripped through a crowded market in the Shiite district of Sadr City. A suicide bomber then targeted the crowd that gathered to help the victims. Some 112 people remain in hospital.
Sunday's bombings marked the deadliest single attack in the Iraqi capital in months, fuelling fears that the IS group is resorting to mass attacks on civilians as it suffers battlefield setbacks.
IS still controls much of northern and western Iraq, but has been driven back in recent months.
The government recently declared the western city of Ramadi "fully liberated". IS had captured the city last year.