According to The Jakarta Globe, the teens were charged with blasphemy under Article 156 Section A of Indonesia's penal code for "tainting religion" by combining prayer with Maroon 5's "One More Night." The students from Tolitoli, a district in Central Sulawesi, were also expelled from school after the video gained popularity.

The video, in which the teens alternate between traditional prayer movements and dancing as the pop song plays in the background, was first uploaded in March but did not gain police attention until the school reported it to authorities.

"The students were performing Sholat [prayer] movement with dancing while alternately reciting [the] Quran and turning on 'One More Night' music," the school's principal -- identified as Muallimin -- explained in a statement obtained by Detik News. "The activity was recorded with a mobile phone of one of the students and they forced another student to hold the phone for a duration of five to six minutes."

Muallimin also added that students are not allowed to bring cell phones to school.

According to the Agence France-Presse, members of the Islamic Defenders Front, a group known for its defense of Islam, were outraged by the video and staged a protest outside of the local police station Monday.

Indonesia's blasphemy law has been a frequent point of contention between the country and human rights groups.

The September 2005 publication by the Danish newspaper Jyllands-Posten of cartoons depicting the Prophet Muhammad unleashed a wave of violent protests by Muslims, who believe any image of their religion's founder is forbidden. Dozens of people were killed in weeks of protests that included violent attacks against Danish missions in Syria, Iran, Afghanistan and Lebanon. At least six people were killed in a June 2008 suicide bombing at the Danish embassy in the Pakistani capital, Islamabad. Al-Qaida claimed responsibility, citing anger over the cartoons. The Danish government described the Muslim backlash as the country's worst international crisis since World War II.<br>
<em>Caption: Pakistani Muslim men march during a demonstration in Karachi on May 18, 2008, to protest against Danish cartoons of the Prophet Mohammed (Peace be upon him). (RIZWAN TABASSUM/AFP/Getty Images)</em>