The cleric is let out of prison after being jailed in 2016 for inviting support for the Islamic State group.