Theresa May has suggested EU citizens could be given preferential rights to come to the UK after Brexit.

The prime minister insisted freedom of movement will end when Britain leaves the EU but said the issue of whether to give citizens of European countries special treatment has yet to be decided.

She also hardened her stance on dissent in her party, warning cabinet ministers they face being sacked if they speak out against the government's Brexit policy.

It comes after the cabinet agreed a plan for Britain's future relationship with the EU following a day of talks at the prime minister's Chequers country retreat.

Under the proposals, freedom of movement between the UK and the EU will end but a "mobility framework" will be set up to make it easier for people to travel between the two, including for study and work.

The details of the UK's immigration policy after Brexit remain a sticking point between cabinet ministers, with Sajid Javid, the home secretary, reportedly insisting that EU citizens should not be given special treatment.

He is said to have believed he secured such a concession from Ms May during the Chequers talks, but her latest comments throw that into doubt.

Speaking to the BBC, the prime minister said: "What I'm clear about is that we will bring an end to free movement.

"As we look ahead to the immigration rules for people coming from the European Union, we need to look at that in the context of the wider rules we have for immigration from outside the EU, and we will decide the rules that are right for the UK."

Asked if this meant EU citizens could be different preferential treatment, she said: "We are going to decide. What we're going to do is say what works for the UK - what's right for the United Kingdom? We will put our national interest."

She added: "We recognise that people will still want to have opportunities in each other's countries."

The biggest issues facing UK on leaving EU Show all 8 1 /8 The biggest issues facing UK on leaving EU The biggest issues facing UK on leaving EU Post-Brexit immigration workers sorting radishes on a production line at a farm in Norfolk. One possible post-Brexit immigration scheme could struggle to channel workers towards less attractive roles - while another may heighten the risk of labour exploitation, a new report warns. PA The biggest issues facing UK on leaving EU Customs union A key point in the negotiations remains Britain's access to, or withdrawal from, the EU customs union. Since the referendum there has been hot debate over the meaning of Brexit: would it entail a full withdrawal from the existing agreement, known as hard Brexit, or the soft version in which we would remain part of a common customs area for most goods, as Turkey does? No 10 has so far insisted that “Brexit means Brexit” and that Britain will be leaving the customs union, but may be inclined to change its position once the potential risks to the UK’s economic outlook become clearer. Alamy The biggest issues facing UK on leaving EU Northern Ireland-Irish border Though progress was made last year, there has still been no solid agreement on whether there should be a hard border between Northern Ireland and the Republic of Ireland. To ensure borderless travel on the island, the countries must be in regulatory alignment and therefore adhere to the same rules as the customs union. In December, the Conservative Party’s coalition partners, the DUP, refused a draft agreement that would place the UK/EU border in the Irish Sea due to its potential to undermine the union. May has promised that would not be the case and has suggested that a “specific solution” would need to be found. Getty The biggest issues facing UK on leaving EU Transition period Despite protests from a small number of Conservative MPs, the Government and the EU are largely in agreement that a transitional period is needed after Brexit. The talks, however, have reached an impasse. Though May has agreed that the UK will continue to contribute to the EU budget until 2021, the PM wants to be able to select which laws made during this time the UK will have to adhere to. Chief negotiator Michel Barnier has said the UK must adopt all of the laws passed during the transition, without any input from British ministers or MEPs. EPA The biggest issues facing UK on leaving EU Rights of EU citizens living the UK The Prime Minister has promised EU citizens already living in the UK the right to live and work here after Brexit, but the rights of those who arrive after Brexit day remains unclear. May insists that those who arrive during the transition period should not be allowed to stay, whereas the EU believe the cut-off point should be later. Getty The biggest issues facing UK on leaving EU Future trade agreement (with the EU) Despite this being a key issue in negotiations, the Government has yet to lay out exactly what it wants from a trade deal with the EU. Infighting within the Cabinet has prevented a solid position from being reached, with some MPs content that "no deal is better than a bad deal" while others rally behind single market access. The EU has already confirmed that access to the single market would be impossible without the UK remaining in the customs union. Getty The biggest issues facing UK on leaving EU Future trade agreements (internationally) The Government has already begun trying to woo foreign leaders into prospective trade agreements, with various high profile state visits to China, India and Canada for May, and the now infamous invitation to US President Donald Trump to visit London. However the UK cannot make trade agreements with another country while it is still a member of the EU, and the potential loss of trade with the world's major powers is a source of anxiety for the PM. The EU has said the UK cannot secure trade deals during the transition period. EPA The biggest issues facing UK on leaving EU Financial services Banks in the UK will be hit hard regardless of the Brexit outcome. The EU has refused to give British banks passporting rights to trade within the EU, dashing hopes of a special City deal. However according to new reports Germany has suggested allowing trade on the condition that the UK continues paying into the EU budget even after the transition period. Getty

Ms May insisted the plan agreed at Chequers would be welcomed by the EU, saying: "From the soundings I've had so far, there is a willingness to sit down and talk about this and a recognition that actually we now are in the stage where we need to agree what the future relationship's going to be.

"This is a serious, workable proposal."

The plan would result in a softer Brexit than many Eurosceptic Conservatives would like, with the UK adopting a "common rulebook" with the EU on the mutual trade of goods. This would effectively keep Britain in the single market for good - a suggestion that triggered an angry backlash from Brexiteers

Brexit: Theresa May secures Cabinet backing after meeting at Chequers

Several anti-EU ministers reportedly raised concerns about the proposals in private, but Ms May said that, from now on, she will not tolerate any public dissent.

Having already written to Tory MPs to say she was reintroducing collective cabinet responsibility, she told ITV: "When the referendum was announced, David Cameron suspended what is called collective responsibility, recognising people would want to campaign on different sides of the argument.

"Now what was clear at the cabinet meeting was a feeling that we come together now in collective responsibility, that we go out in unity and we go out and sell this deal to our European colleagues.