Somalia-based Islamist militant group al Shabaab has released a recruitment film in the form of a documentary about racial injustice in the United States featuring Republican presidential candidate Donald Trump, SITE Monitoring reported Saturday.

Trump, the billionaire developer, former reality TV star and Republican front-runner, was shown in the 51-minute film making his December call for the United States to bar all Muslims from the country as his supporters cheered.

RELATED: Trump targets Obama over ‘Star Wars’ screening

It was shown between two clips of militant leader Anwar al-Awlaki, killed in a drone strike in Yemen in 2011, saying Muslims in the United States would face a choice between leaving for Islamic countries or staying at home to fight the West.

The film was distributed on Twitter on Friday by the al-Kataib Media Foundation, an Islamist militant organization, SITE reported.

Close video Trump ad touts proposed ban on Muslims The Boston Globe’s Matt Viser talks about Donald Trump’s provocative TV ad, saying the candidate has not tried to soften his rhetoric. The Boston Globe’s Matt Viser talks about Donald Trump’s provocative TV ad, saying the candidate has not tried to soften his rhetoric. share tweet email Embed

Trump’s call to ban Muslims from entering the United States has been widely condemned by American politicians. It has also provoked an international uproar and led to criticism that his views could be used as propaganda by Islamist militants.

Al Shabaab, which seeks to overthrow Somalia’s Western-backed government and impose a strict version of sharia, or Islamic law, has links to the international militant group al Qaeda and has carried out attacks in Kenya and Ethiopia.

This article first appeared on NBCNews.com.