SM 3109 then QY 821 at Madrid
Cairo → Madrid → Porto
Timetable, Madrid time
11:45SM 3109 from Cairo at the gate
17:37QY 821 to Porto leaves the gate
5 h 52 apart on the timetable
The last days
SM 3109 and QY 821 weren’t both flown 15 min to 12 h apart in the last 21 days.
Statistics from past flights, not live flight information. Always check times and your connection with your airline, and don’t base travel or booking decisions on these numbers.