FR 4596 then MS 768 at Barcelona
Porto → Barcelona → Cairo
Timetable, Barcelona time
22:15FR 4596 from Porto at the gate
15:25MS 768 to Cairo leaves the gate
17 h 10 apart on the timetable, overnight
MS 768 leaves 17 h 10 after FR 4596 arrives on the timetable: more than half a day, so not a connection we count.