SM 3029 then FR 1206 at Madrid
Cairo → Madrid → Venezia
Timetable, Madrid time
11:40SM 3029 from Cairo at the gate
10:20FR 1206 to Venezia leaves the gate
22 h 40 apart on the timetable, overnight
FR 1206 leaves 22 h 40 after SM 3029 arrives on the timetable: more than half a day, so not a connection we count.