A top Isis commander in Afghanistan has called the President-elect Donald Trump a “complete manic” 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 country 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.

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 organizations can exploit it."

President Donald Trump life in pictures Show all 16 1 /16 President Donald Trump life in pictures President Donald Trump life in pictures Donald Trump poses in a rocking chair once used by President John F. Kennedy at his New York City residence Reuters President Donald Trump life in pictures Developer Donald Trump with his new bride Marla Maples after their wedding at the Plaza hotel in New York Reuters President Donald Trump life in pictures Donald Trump and Celina Midelfart watch the match between Conchita Martinez and Amanda Coetzer during U.S. Open. She was the date whom Donald Trump was with when he met his current wife Melania at a party in 1996 Reuters President Donald Trump life in pictures U.S. Supreme Court Justice Clarence Thomas serving as the grand marshal for the Daytona 500, speaks to Donald Trump and Melania Knauss on the starting grid at the Daytona International Speedwa Reuters President Donald Trump life in pictures Developer Donald Trump talks with his former wife Ivana Trump during the men's final at the U.S. Open Reuters President Donald Trump life in pictures Donald Trump and his friend Melania Knauss pose for photographers as they arrive at the New York premiere of Star Wars Episode : 'The Phantom Menace,' Reuters President Donald Trump life in pictures Billionaire real estate developer Donald Trump talks with host Larry King. Trump told King that he was moving toward a possible bid for the United States presidency with the formation of a presidential exploratory committee Reuters President Donald Trump life in pictures Donald Trump answers questions as Minnesota Governor Jesse Ventura looks on in Brooklyn Park. Trump said on Friday he 'very well might' make a run for president under the Reform Party banner but had not made a final decision Reuters President Donald Trump life in pictures Billionaire Donald Trump makes a face at a friend as he sits next to Panamanian President Mireya Moscoso before the start of the 2003 Miss Universe pageant in Panama City Reuters President Donald Trump life in pictures Entrepreneur Donald Trump is greeted by a Marilyn Monroe character look-a-alike, as he arrives at Universal Studios Hollywood to attend the an open casting call for his NBC television network reality series 'The Apprentice.' Reuters President Donald Trump life in pictures Donald Trump and Simon Cowell present an Emmy during the 56th annual Primetime Emmy Awards at the Shrine Auditorium in Los Angeles Reuters President Donald Trump life in pictures Donald Trump and Megan Mullally perform at the 57th annual Primetime Emmy Awards at the Shrine Auditorium in Los Angeles Reuters President Donald Trump life in pictures Donald Trump, poses with his children, son Donald Trump, Jr., and daughters Tiffany and Ivanka Reuters President Donald Trump life in pictures Billionaire Donald Trump told Miss USA 2006 Tara Conner on Tuesday she would be given a second chance after reported misbehavior Reuters President Donald Trump life in pictures Donald Trump holds a replica of his star on the Hollywood Walk of Fame as his wife Melania holds their son Barron in Los Angeles Reuters President Donald Trump life in pictures U.S. property mogul Donald Trump stands next to a bagpiper during a media event on the sand dunes of the Menie estate, the site for Trump's proposed golf resort, near Aberdeen, north east Scotland Reuters

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 Hashemi 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 Moqtada 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.”

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

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.

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

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

"Militants will still use those quotes," said Matthew Henman, head of IHS Jane's Terrorism and Insurgency Centre.