FR 6723 then UX 1145 at Madrid
Marrakesh → Madrid → Porto
Timetable, Madrid time
11:20FR 6723 from Marrakesh at the gate
10:35UX 1145 to Porto leaves the gate
23 h 15 apart on the timetable, overnight
UX 1145 leaves 23 h 15 after FR 6723 arrives on the timetable: more than half a day, so not a connection we count.