Both groups are comfortable with absolutist beliefs.
Both groups are okay with the destruction of everybody but themselves,
Both groups subjugate women.
Both groups see themselves as peaceful.
Inside these groups, the majority of the believers manage to cope with 'normal' life by simply ignoring the fringe elements through dismissing the evil as non-representative of the whole.
Loyalty to the governing leaders displaces individual responsibility to humanity.
Other than the above, I see no connection whatsoever.