The couple, due to appear in court on September 1, were found in a "sexual position" by the beach.
Videos of Najjar were quickly shared in which she advocates the use of the Islamic veil and urges students to stay away from "temptation and vice".
The incident has triggered an old debate surrounding sexual freedoms in Morocco.
Moroccan activists have long called for the cancellation of Article 490 of the Penal Code, a law which punishes men and women caught having sex outside of marriage, even if the two are consenting adults.
According to activists, adults should have the freedom to engage in sexual relations as long as there is mutual consent.
In 2014, global advocacy group Amnesty International released a campaign called My Body My Rights that fell in line with activists’ calls for greater freedoms.
Amnesty International Morocco director Mohamed Sektaoui said at the time that the organisation was calling on the government to "include sexual freedom in its criminal code reforms, and acknowledge it as part of human rights".
"Sexual relations outside marriage must not be considered a crime punishable by law," he added.
The sex scandal, among a list of other assorted accusations against the ruling PJD, comes just weeks before Morocco’s parliamentary elections in October.
While the party itself is keeping a low profile, its backers accuse opponents in parliament and the media of conjuring a slur campaign to damage PJD credibility ahead of the October general election.
"It is an old practice to defame and discredit the other [party] in the fight for power," historian Maati Monbij told AFP.
The PJD remains popular in the conservative country, despite limited success in tackling corruption, and is credited with lowering the budget deficit.
- The incident has triggered an old debate surrounding sexual freedoms in Morocco