The 13-year-old student's parents refused to allow their son to join his classmates on the June 14 school trip of this year to a mosque in the northern German town on Rendsburg, prosecutor Peter Müller-Rakow said on Wednesday. The field trip was reportedly part of a geography lesson.
A local education authority subsequently fined the parents a total of 300 euros ($328) for their son's truancy - which is a common practice in parts of Germany.
After the couple appealed the decision, the case was referred to Müller-Rakow who will now decide whether or not the parents stand trial over the case.
The father justified the decision by citing "ideological reasons" in a written letter to the school which was published online by the family's lawyer Alexander Heumann.
The letter emphasized that the parents worried about their child's safety, saying: "For years we have been hearing reports about religiously-motivated violence connected with Islamic people."
The parents do not belong to any religious group and worried that their son could possibly be "indoctrinated" during the trip. The couple said no one can be forced to enter a house of worship.
According to German public broadcaster NDR, the family met the lawyer through the "Pax Europa" association - a movement which is concerned with the so-called "Islamization of Europe."
The school's principal, Renate Fritzsche said that there are no exceptions to Germany's mandatory school law.
"We also have Muslim children with us and Muslim parents also know that there are no exceptions," she told NDR, emphasizing that Muslim children must take part in swimming lessons and sex education.