Former Salafist Nour Party MP Ali Wanis has been sentenced to four months in jail by the Delta Appeal Court for performing an "indecent" sexual act in public and assaulting a police officer.
Wanis was arrested in early June when police discovered him engaging in a sexual act with a 22-year-old woman in a car parked on a coastal highway.
He filed an appeal after he was given a one-year suspended sentence and fined LE1,000 in July.
The female university student arrested with Wanis, who was given a six-month suspended sentence and fined LE500 in July, was given a three-month sentence by the appeal court on Wednesday.
The ultraconservative Nour Party came second to the Muslim Brotherhood in the latest parliamentary election.
The parliament was dissolved after a court ruling deemed it unconstitutional.
The Nour Party was hit by scandal in March when another of its MPs was forced to resign from parliament and the party. He claimed he had been injured in a carjacking when his injuries were caused by cosmetic nose surgery.