MS 791 then FR 2437 at Fiumicino
Cairo → Rome → Madrid
Timetable, Rome time
12:30MS 791 from Cairo at the gate
11:15FR 2437 to Madrid leaves the gate
22 h 45 apart on the timetable, overnight
FR 2437 leaves 22 h 45 after MS 791 arrives on the timetable: more than half a day, so not a connection we count.