An influential Islamic leader has slammed the Bondi attack as 'embarrassing,' warning it will make his community a target.