The document you’re looking for is the English Bill of Rights (1689).

It was this English parliamentary act that clearly stated that the monarch could not interfere with parliamentary elections , helping to secure free elections and limit royal power.