A top Isis commander in Afghanistan has called the President-elect Donald Trump a “complete maniac” and said his “utter hate towards Muslims” will make it “much easier" to recruit thousands more supporters.

Mr Trump was widely condemned for his call, shortly after the terrorist attacks in Paris in November 2015, to temporarily ban all Muslims from entering the United States until he figured out "what the hell was going on".

The Republican and his allies have consistently defended the ban, insisting the measure was about Americans’ "safety" and not about discriminating against religion.

Trump: We're going to deport millions

Mr Trump has since toned down his call for the ban saying he would temporarily suspend immigration from countries that have "a history of exporting terrorism".

But Taliban commanders and Islamic State supporters have said the rhetoric Mr Trump used during his campaign will help their recruitment efforts, especially among disaffected young people in the West.

"This guy is a complete maniac. His utter hate towards Muslims will make our job much easier because we can recruit thousands," Abu Omar Khorasani, a top Isis commander in Afghanistan, told Reuters.

"Our leaders were closely following the US election but it was unexpected that the Americans will dig their own graves and they did so," Khorasani continued, describing President Barack Obama as a moderate infidel with a little more intelligence than Mr Trump.

A senior Taliban commander in Afghanistan said the group had kept track of Mr Trump's speeches and anti-Muslim comments: "If he does what he warned in his election campaign, I am sure it will provoke Muslim Ummah [community] across the world and jihadi organisations can exploit it."

Al-Qaeda, which launched the 11 September attacks on New York and the Pentagon, has not yet commented on Mr Trump's win.

However, Hisham al Hashimi an adviser to the Iraqi government on Sunni jihadist movements, told Reuters that "Al-Qaeda is known for its recruitment strategy that heavily quotes speeches of the White House and other Western officials.”

Iraq's powerful Shia Muslim cleric Muqtada al-Sadr said in a statement: "He [Donald Trump] does not differentiate between extremist and moderate Islamist trends and, at the same time, he overlooks [the fact] that his extremism will generate extremism in return.”

President Trump protests Show all 20 1 /20 President Trump protests President Trump protests Patrons hold a sign as people march by while protesting the election of Republican Donald Trump as the president of the United States in downtown Los Angeles, California Reuters President Trump protests Demonstrators rally following the election of Republican Donald Trump as President of the United States, in Oakland, California Reuters President Trump protests Demonstrators march following the election of Donald Trump as President of the United States Reuters President Trump protests Thousands of protesters rallied across the United States expressing shock and anger over Donald Trump's election, vowing to oppose divisive views they say helped the Republican billionaire win the presidency AFP/Getty Images President Trump protests Demonstrators protest outside the Chicago Theatre in Chicago, Illinois Getty President Trump protests A police officer aims a launcher after demonstrators threw projectiles toward a line of officers during a demonstration in Oakland, California Reuters President Trump protests An officer examines a vandalized police vehicle as demonstrators riot in Oakland, California Reuters President Trump protests Demonstrators take over the Hollywood 101 Freeway just north of Los Angeles City Hall in protest against the election of Republican Donald Trump as President of the United States Reuters President Trump protests A woman holds up a sign reading 'Trump you are an Idiot' as demonstrators gather during a protest against President-elect Donald Trump outside the City Hall building in Los Angeles, California EPA President Trump protests A masked demonstrator gestures toward a police line during a demonstration in Oakland, California Reuters President Trump protests Demonstrators protest against the election of Republican Donald Trump as President of the United States, near the Trump International Hotel & Tower in Las Vegas, Nevada Reuters President Trump protests Musician Lagy Gaga stages a protest against Republican presidential nominee Donald Trump on a sanitation truck outside Trump Tower in New York City Getty President Trump protests A woman yells as she takes part in a protest against President-elect Donald Trump in Seattle's Capitol Hill neighborhood AP President Trump protests A man dressed in red-white-and-blue sits on the curb during a protest against President-elect Donald Trump in Seattle's Capitol Hill neighborhood AP President Trump protests A protester sets off fireworks during a protest against President-elect Donald Trumpin Seattle's Capitol Hill neighborhood AP President Trump protests University of California, Davis students protest on campus in Davis, California, U.S. following the election of Donald Trump as President of the United States Reuters President Trump protests An Oakland police officer checks out damage after a window was broken by protesters at a car dealership in downtown Oakland, Calif AP President Trump protests A protester faces a police line in downtown Oakland, Calif AP President Trump protests President-elect Donald Trumpís victory set off multiple protests AP President Trump protests A fire burns during protests in Oakland, Calif AP

The President-elect vocalised his tough stance on Islamic militants during his campaign, vowing to defeat "radical Islam just as we won the Cold War". However, he has failed to give extensive details on his plans to combat jihadist groups.

The US saw a number of attacks inspired by Islamic militants during Mr Trump's presidential campaign, including the killing of 14 people in December 2015 in San Bernardino, California by Syed Rizwan Farook and his wife Tashfeen Malik, who allegedly pledged allegiance to Isis leader Abu Bakr al-Baghdadi and the June massacre of 49 people in an Orlando nightclub by a gunman who made a phone call before the attack saying, "I pledge my allegiance to [Abu Bakr al-Baghdadi] of the Islamic State.”

Officials have warned the US is likely to face similar attacks as Isis calls on its supporters to launch attacks at home rather than making the journey to the Middle East.

Mr Trump's office did not immediately respond to requests for comment on the statements from the militants.

Even if the President-elect tones down his anti-Muslim comments when he takes office in January, analysts say his statements during the campaign were enough to fuel the militants' propaganda machine.