UK Prime Minister Boris Johnson will “keep to the plan” to leave the European Union and will not try to negotiate a deal to delay Britain’s departure, two allies said Sunday.

Under a law that is expected to take effect Monday, Johnson (inset) must seek a delay from Brexit if Parliament fails to approve a divorce deal by Oct. 19.

Johnson had vowed to leave the EU by Oct. 31 — with or without a deal.

Foreign Secretary Dominic Raab said Johnson will abide by the Brexit referendum passed in 2016 by forging ahead.

“I do also think that on some of these key issues, people need to understand, and the voters get it, that we’ve got to keep to the plan,” Raab said.

He said the bill approved by Parliament last week that Queen Elizabeth II is expected to sign into law Monday “is a bad piece of legislation.”

“We will also want to test to the limit what it does actually lawfully require. We will look very carefully at the implications and our interpretation of it,” he said.

Finance Minister Sajid Javid said Johnson will attend an EU summit on Oct. 17 to secure a Brexit deal.

“First of all, the prime minister will go to the council meeting on the 17th and 18th [of October], he’ll be trying to strike a deal. He absolutely will not be asking for an extension in that meeting,” Javid said.

In remarks last week, Johnson, who succeeded Theresa May as prime minister in July, said he would rather be “dead in a ditch” than delay Brexit.

But his Conservative Party has lost its majority in Parliament, and he has been rebuffed on his calls for snap elections in the face of the opposition.

The prime minister has also seen a number of members quit — including his brother, Jo Johnson.

The younger Johnson said he was “torn between” family and the national interest.

On Saturday, Secretary of State for Work and Pensions Amber Rudd resigned, accusing Johnson of “an assault on decency and democracy.”

With Wires