At first, people gathered near the country’s biggest mosque, Baitul Mukarram, and marched towards the French embassy.
After the police stopped the crowd in the Shantinagar area, people blocked roads on the nearby streets for several hours.
Hifazat-e Islam Secretary General Junaid Babu Nagari said during the protest that Dhaka needs to cut diplomatic ties with Paris and boycott all French products, according to the news agency.
The Islamist group also urged Bangladeshi authorities to officially condemn France. In addition, Nagari called on France to apologise to the Muslim world.
The president stressed that France would not disavow the cartoons and continue to defend freedom of expression.
Macron’s speech was met with a backlash in the Muslim world, as many consider cartoons of Prophet Muhammad to be blasphemous. Amid calls to boycott French products, Macron has said that he understood the feelings of Muslims but maintained that radical Islam is a threat to all.