( CNN ) -- Sounding as much like a Western leader as a Middle Eastern one , Iran 's president is denouncing ISIS in strong terms , but even in firm opposition he 's hardly embracing the U.S.-led military effort intent on destroying the extremist group . Hassan Rouhani , in an interview with NBC News , characterized ISIS 's recent beheadings of three Western captives are offensive to all people , including Muslims like himself . `` They want to kill humanity and , from the viewpoint of the Islamic tenets and culture , killing an innocent person equals the killing of ( all ) humanity , '' Rouhani said of ISIS militants , according to the translation on NBC 's website. `` ... The killing and beheading of innocent people , in fact , is a matter of shame on them and a matter of concern and sorry for all ... mankind . '' The only relevant thing about the victims is that they were innocent , not their nationalities or religions , according to Rouhani . The three killed were British aid worker David Haines and American journalists James Foley and Steven Sotloff . Sotloff was Jewish and had dual citizenship with Israel . `` Who can really tolerate to see an innocent person be executed ? '' said the Iranian president . `` It does n't make any difference , from our viewpoint , if the person is Muslim , Jewish , Christian or ( a ) follower of any other religion . It is not important to us ... which nationality he belongs to . '' Rouhani 's position on ISIS is n't entirely new or unexpected . The group is made up of Sunni Muslims aiming to create a vast caliphate in the region under its strict , distinct version of Sharia law . Iran consists predominantly of Shia Muslims , and it could find itself under attack if ISIS militants move east from Iraq into its territory . Iran is n't alone in its stance on ISIS . U.S. President Barack Obama has been active in his opposition to the group , ordering airstrikes targeting ISIS in Iraq and promising similar air attacks on the group in Syria . In his NBC interview , Rouhani did not appear supportive or impressed with Washington 's plan to form a coalition -- one which he called `` ridiculous '' -- or its using airstrikes , rather than ground forces , to combat the ISIS threat . Obama , Kerry : No U.S. troops to be sent into combat . The Iranian president asked rhetorically if the United States , by conducting airstrikes but refusing to put its own troops into battle , is `` afraid of their soldiers being killed in the fight they claim is against terrorism . '' `` If they want to use planes and if they want to use unmanned planes , so that nobody is injured from the Americans -- is it really possible to fight terrorism without any hardship , without any sacrifice ? '' he added . Rouhani then made an apparent allusion to possible airstrikes against ISIS in Syria -- something that U.S. officials would be done without coordinating with the government of President Bashar al-Assad . Washington has backed moderate opposition forces working to oust al-Assad ; Tehran , meanwhile , is an ally of the embattled Syrian leader . `` Maybe it is necessary for airstrikes in some conditions and some circumstances , '' Rouhani told NBC 's Ann Curry . `` However , airstrikes should take place with the permission of the people of that county and the government of that country . '' Ali Shamkhani , the secretary of Iran 's Supreme National Security Council , told state-run Press TV that Iran turned down an invite from Denmark Foreign Minister Martin Lidegaard to join the U.S.-led alliance to fight ISIS . Shamkhani surmised Wednesday that one of this coalition 's chief goals is to protect Israel and that Tehran does n't believe it will be effective . `` The alliance ... for confronting this terrorist group is an effort to forge safe borders for the Zionist regime rather than bring about regional stability and security for the oppressed people of the ( Middle East ) , '' he said .
NEW : Rouhani on Iran strikes : `` Is it really possible to fight terrorism without ... sacrifice ? '' NEW : Official : Iran turned down invite from Iran minister to join U.S.-led anti-ISIS coalition . NEW : Iranian official says the coalition 's goal is to protect Israel , state news reports . Iranian President David Haines tells ISIS that ISIS ' beheadings violate ISIS .