FR 6723 then UX 1047 at Madrid
Marrakesh → Madrid → Rome
Timetable, Madrid time
22:15FR 6723 from Marrakesh at the gate
15:00UX 1047 to Rome leaves the gate
16 h 45 apart on the timetable, overnight
UX 1047 leaves 16 h 45 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.