Obama and Malaysian Prime Minister Najib Razak were speaking separately at an Asian summit taking place against the backdrop of recent violence including the bombing of a Russian jet over Egypt, a suicide bombing in Beirut, a series of attacks in Paris, the slaying of a Malaysian hostage by militants in the Philippines and Friday's attack on a Mali hotel.
"But the events of recent days and weeks have cast a shadow over us all," he said in remarks to open the ASEAN summit. "Be assured that we stand with you against this new evil that blasphemes against the name of Islam."
"The perpetrators ... Do not represent any race, religion or creed. They are terrorists and should be confronted as such, with the full force of the law," Najib said in a stirring speech that repeatedly emphasized the tolerance of Islam.
More From This Section
Later, Obama spoke at a business conference on the sidelines of the summit, and referred to the Mali attack that left 20 people dead, including one American.
"With allies and partners, the United States will be relentless to those who target our citizens. We will continue to root out terrorist networks. We will not allow these killers to have a safe haven," Obama said, adding that the world is determined "to push back on the hateful ideologies that fuel this terrorism."
"This is a prime example of America and our partners working together to shape the world we want for future generations," Obama said.