Five days before the attack, Haider posted a photograph on Facebook of himself wearing a balaclava and holding the Shahada flag.