An online petition to ban US presidential hopeful Donald Trump, which has become the most popular ever on the Government's website, has passed the half a million mark.

The number of people signing the petition, which was set up almost two weeks ago, soared in recent days following calls by the property tycoon and reality TV star for Muslims to be barred from entering the US and his claim that parts of London were so "radicalised" that police feared for their lives.

A poll on the parliamentary website calling for his exclusion from the UK raced past the 100,000-signature threshold to be considered for debate in Parliament and has topped the previous record of 446,482.

At its peak, the petition was lengthening by more than seven signatures a second and users experienced difficulties accessing the page due to higher than usual traffic. It gained around 140,000 signatures in just over a day, to reach the 500,000 mark in the early hours of Friday.

The previous top spot was held by a petition earlier this year calling for the UK to accept more asylum seekers and increase refugee support, which was signed 446,924 times.

Prime Minister David Cameron said Mr Trump's comments were "divisive, unhelpful and quite simply wrong", while London mayor Boris Johnson said they rendered him "unfit to hold the office of the president of the United States".

The businessman, who owns two golf courses in Scotland - Trump International Golf Links in Aberdeenshire and Trump Turnberry in South Ayrshire - has been stripped of an honorary degree from Robert Gordon University in Aberdeen and had his membership of the GlobalScot business network removed.

But he received support from TV personality and MailOnline columnist Katie Hopkins, who urged the public not to demonise him.

Hopkins, who told Fox News Mr Trump had support from a quarter of the population of the UK, tweeted: "It's because Trump & I articulate sentiments repressed by the politically correct consensus that we have a voice."

Mr Trump then thanked the "respected columnist" for her "powerful writing on the U.K.'s Muslim problems" before claiming "Many people in the U.K. agree with me!".

Following a backlash about his comments on police in London he remained unrepentant, writing on Twitter: "The United Kingdom is trying hard to disguise their massive Muslim problem. Everybody is wise to what is happening, very sad! Be honest."

Polls taken in the US after Mr Trump's original remarks were publicised showed a spike in support among Republican primary voters, with Mr Trump on around 35% and as many as 20 points ahead of his main rivals.

Suzanne Kelly, who originally lodged the petition to ban the US billionaire, said it was "one of many little acts of defiance" against Mr Trump.

The 54-year-old from Aberdeen said: "I started the petition on 28 November. It was after the petition was lodged that Mr Trump made his anti-Muslim remarks. These confirmed for me that what I did in starting this petition was right.

"Is there a group this man hasn't made hateful remarks about? In a presidential candidate, this is unacceptable.

"For me, freedom of speech comes with responsibility. There is great power in words, which the UK Government recognises in its anti-hate speech principles. I am gratified so many people feel as I do."

Ukip leader Nigel Farage said people had "overreacted" to Mr Trump's comments and he should not be barred, even though he had "gone for a proposal that is over the top".

Mr Farage said: "Do I think people have overreacted? Yes, I do think people have overreacted, which does not mean I support the tone of everything Donald Trump has said, because I don't."

On his LBC Radio phone-in show he said a ban on Mr Trump coming to the UK would be a "massive overreaction", adding: "Love him or hate him, Trump is now part of the democratic process in the West."

In a further comment on Twitter, Mr Trump claimed that "in Britain, more Muslims join Isis than join the British Army".

The tweet linked to an article in National Review headlined Dispelling The 'Few Extremists' Myth - The Muslim World Is Overcome With Hate, which cited a Times report from 2014 on numbers of British Muslims travelling to Syria and Iraq to wage jihad.

In an interview to be broadcast on Saturday, Scottish National Party foreign affairs spokesman Alex Salmond told Russia Today TV's Going Underground: "Most presidents of the United States or UK prime ministers usually have about 10 years in office before they go crazy. Donald Trump has made it as a candidate."

A protest against Mr Trump's comments was held outside East London Mosque in Tower Hamlets, with a handful of protesters chanting "Trump is scum".

Around 50 people gathered outside the mosque, including a representative from Scotland Yard, mayor of Tower Hamlets John Biggs and religious leaders including the head of the local synagogue.

Mosque officials invited Mr Trump to visit and spend time in Tower Hamlets.

Spokesman Salman Farsi said: "We'd be more than happy to show him round if he's able to get a visa now."

He added: "There are mixed feelings in our community, some people want him to get banned, some want to prove him wrong. If he's not banned and if he's allowed into the country, we'd be happy to host him and have a conversation with him. Clearly some of the comments he has made are deeply, deeply wrong."

Detective Superintendent Phil Langworthy said it was important for an officer to attend in order to "stand up against the racism".

He added: "We're not scared of policing in Tower Hamlets and anywhere in London we're not scared to go. There are no no-go areas."

Mr Biggs called Mr Trump's comments "ignorant and stupid".