A Sydney prayer hall linked to a controversial Islamic preacher has permanently closed after council found it operated without approval.