A female student of the Al Azhar University in Egypt has been expelled by the school after she hugged her fiance following his marriage proposal.

The video, which went viral earlier this month, showed a young man carrying a bouquet of flowers kneeling before a young woman and then hugging her.

The video was apparently not filmed at Al-Azhar – a branch of Egypt’s highest Sunni Muslim authority – but at another establishment, Mansoura University in the country’s north.

Nevertheless the disciplinary council of the Al-Azhar University campus in Mansoura on Saturday “decided to expel the young girl definitively”, university spokesman Ahmed Zarie told AFP.

ALSO: AFCON 2019: Egypt to replace Cameroon as hosts

He said the video had caused a “public outcry” and that the university’s decision to expel her was because she had presented a “bad image” of Al-Azhar University, which strictly segregates the genders.

He said hugging between unmarried men and women violates “the values and principles of society”.

The woman, however, can appeal the expulsion decision, Zarie said.

The young man who appeared in the video could also face sanctions, a spokesman for Mansoura University said, adding that the school’s disciplinary council will meet on Monday to decide his “punishment”.

Egypt, a predominantly Muslim country, is a largely conservative society.