JAKARTA, Indonesia — The scene is horrifyingly familiar. Islamic State soldiers march a line of prisoners to a riverbank, shoot them one by one and dump their bodies over a blood-soaked dock into the water.

But instead of the celebratory music and words of praise expected in a jihadi video, the soundtrack features the former Indonesian president, Abdurrahman Wahid, singing a Javanese mystical poem: “Many who memorize the Quran and Hadith love to condemn others as infidels while ignoring their own infidelity to God, their hearts and minds still mired in filth.”

That powerful scene is one of many in a 90-minute film that amounts to a relentless, religious repudiation of the Islamic State and the opening salvo in a global campaign by the world’s largest Muslim group to challenge its ideology head-on.

The challenge, perhaps surprisingly, comes from Indonesia, which has the world’s largest Muslim population but which lies thousands of miles away from the Islamic State’s base in the Middle East.