Baltimore's Masjid Al-Rahmah mosque, which President Barack Obama will visit on Wednesday, is being criticized by some American Islamic leaders due to its controversial ties with extremist groups, per FOX News.

The Islamic Society of Baltimore was surrounded by controversy due to a former imam named Mohamad Adam El-Sheikh, who has ties with the Muslim Brotherhood in Sudan and alleged Al Qaeda recruiter Anwar al-Awlaki.

"As a Muslim American I'm just insulted, this is disgraceful that this is one of the mosques or the mosque that he's chosen to visit. This mosque is very concerning," Zuhdi Jasser of the American Islamic Forum for Democracy said.

"Obama is visiting a mosque that is against our Muslim reform movement. Historically, as I said before, they are basically a radical, extreme mosque and is not representative of modern Muslims in America," Jasser added.

El-Sheikh served as an imam in Masjid Al-Rahmah mosque from 1983 to 1989 and a second term from 1994 to 2003. He also served as the regional director for the Islamic American Relief Agency, an organization connected to Al Qaeda and Taliban, according to the U.S. Treasury Department.

After being the imam in Baltimore, El-Sheikh moved to serve for the Dar Al-Hijrah Islamic Center in Falls Church, Virginia. The Dar Al-Hijrah Mosque is where Awlaki served as an imam before becoming a high-ranking member of Al Qaeda.

According to the Baltimore Sun, the Masjid Al-Rahmah mosque will become the first ever American mosque President Obama will visit as president. The president will be talking with Muslim leaders of the ISB located in Catonsville.

Established in 1969, the Islamic Society of Baltimore is one of the largest Muslim communities in Maryland, per the society's official website. The Masjid Al-Rahmah mosque was built in 1987 followed by the ISB Quran Academy and Sunday School.

The Baltimore Sun also mentioned the increase attacks against American Muslims prompted the meeting between Obama administration officials and several Muslim leaders at the White House back in December. Many Muslims have received threats and media attention due to the recent terrorist attacks as well as Republican presidential candidate Donald Trump's willingness to ban them from entering the U.S.

"When politicians insult Muslims, whether abroad or our fellow citizens, when a mosque is vandalized or a kid bullied, that doesn't make us safer. It's just wrong. It diminishes us in the eyes of the world. It makes it harder to achieve our goals. It betrays who we are as a country," Obama said during his final State of the Union Address last month via the Washington Post.