The mosque was demolished by authorities early Saturday following a court order.