An infamous prayer hall – which has come under scrutiny after the Bondi terror attack – has been dealt a huge blow by the local council.