We let infidel Turkey know that the blood of Muslims that is being shed... will turn into fire on its territories.
ISIS claimed responsibility early Monday for a mass shooting in an Istanbul nightclub on New Year's Day.
The gunman, who is still at large, killed 39 people and wounded dozens more. He used an automatic rifle and hand grenades in the attack.
ISIS's Aamaq News Agency said the shooter had taken orders from leader Abu Bakr al-Baghdadi.
The shooter is believed to be from Uzbekistan or Kyrgyzstan, according to Turkish media reports.
Hundreds of people were inside the Reina nightclub when the shooter attacked just after midnight on Sunday. Officials said the gunman was believed to have been wearing a Santa Claus costume.
2017 yılının ilk saatlerinde İstanbul’un Ortaköy semtinde meydana gelen terör saldırısını şiddetle kınıyorum.— Recep Tayyip Erdoğan (@RT_Erdogan) January 1, 2017
Turkish president Recep Tayyip Erdogan condemned the attack, as did the United States.
Here's the White House's official statement.
WATCH | Here's an emotional funeral for a victim of the shooting.
Of the 39 people killed, all but one have been identified as of early Monday morning, officials said.
Several WNBA players were next door to the nightclub at the time of the shooting. They were playing in a Turkish basketball league in the offseason, and all were unhurt.
Turkey has partnered with the anti-ISIS coalition in Syria in Iraq. ISIS has responded with repeated attacks in Turkey.
Los Angeles Sparks player Essence Carson tweeted that she was unhurt.
The Associated Press contributed to this report.