Egyptian plaintiff jailed over compliment