It also emerged Shire Ali became an online friend of infamous Australian terrorist Khaled Sharrouf in 2014.

Sharrouf posted a photo of his young son holding a severed head online in 2014. He was reportedly killed last year.

Shire Ali had referred to himself online as a wannabe Islamic State terrorist and had voiced his support for IS and plans to fight in the Middle East. He described himself on Facebook as a "Mujahid in sha Allah (God willing) at Islamic State of Iraq and al-Sham".

The profile appeared on Sharrouf's archived friends list, which dates back to 2014.