SM 3111 then FR 2051 at Madrid
Cairo → Madrid → Palma de Mallorca
Timetable, Madrid time
12:00SM 3111 from Cairo at the gate
09:25FR 2051 to Palma de Mallorca leaves the gate
21 h 25 apart on the timetable, overnight
FR 2051 leaves 21 h 25 after SM 3111 arrives on the timetable: more than half a day, so not a connection we count.