Two Canadians who were barred from leaving Egypt following weeks of imprisonment without charges were on their way home Friday.

Filmmaker John Greyson and physician Tarek Loubani said in a statement they that left Cairo on a flight Friday morning and are expected in Canada Friday night.

‘‘''It’s over,’’ the statement said, adding that they can’t wait to see their families.

Egypt lifted a travel ban for the two on Thursday. The pair weren’t allowed to board a plane after they were released from jail Sunday.