Hi Miss Munch
Yes it is legal, DWP are verifying that you do not have any savings that you have not declared as any savings over £6k will affect your entitlement.
You can refuse to show your bank statement, but your claim will be suspended until you comply, after a month your claim would be closed.
Gary
Nothing on this board constitutes legal advice - always consult a professional about specific problems