A UKIP candidate who labelled David Cameron a “gay loving nut case” and claimed that God “hates” homosexuality has been suspended by the party.

Harry Perry, who was due to represent UKIP in the Offerton ward in Stockport this month, made the anti-gay comments on Facebook and Twitter.

A UKIP spokesman today confirmed that Perry had been suspended over the comments.

Earlier today, Nigel Farage claimed that the establishment was “singling out” UKIP members for ridicule, and that there was a “disproportionate media spotlight on UKIP members like Perry.

A message sent by Perry to Liberal Democrat candidate Lisa Smart read: “Don’t you know, Lisa, that God hates homosexuality, you cannot be a Christian and support the gay issue.”

On Twitter In a tweet published in November 2012, Mr Perry described David Cameron as a “gay loving nut case”.

He also tweeted: “i would leave ukip if they joind with ANY OF THE TTHREE MAIN PARTYS ON THE GAY ISSUE ALONE.”

And said the Conservatives, Labour, and the Lib Dems were all “gay loving”.

On Wednesday, UKIP leader Nigel Farage said his party should “possibly not” have taken money from a donor who believes gay people are incapable of love and who claims that it is not possible for husbands to rape wives.

Greek shipping tycoon Demetri Marchessin made the comments in a Channel 4 News interview.

UKIP MEP Roger Helmer this week has been at war with The Sun after the paper accused him of being a “bigot” for his views on homosexuality.

Last weekend it was revealed that a council candidate for UKIP in Staffordshire had described the arrival of same-sex marriage in England and Wales as a “Sad day for all us straight people”.