FR 4065 then IB 1853 at Madrid
Catania → Madrid → Marrakesh
Timetable, Madrid time
13:10FR 4065 from Catania at the gate
11:40IB 1853 to Marrakesh leaves the gate
22 h 30 apart on the timetable, overnight
IB 1853 leaves 22 h 30 after FR 4065 arrives on the timetable: more than half a day, so not a connection we count.