Twin bombings rocked near a mosque north of the Iraqi capital Baghdad killing at least 41 people, local media reported.