FR 6792 then FR 1062 at Madrid
Marrakesh → Madrid → Warsaw Modlin
Timetable, Madrid time
22:05FR 6792 from Marrakesh at the gate
20:35FR 1062 to Warsaw Modlin leaves the gate
22 h 30 apart on the timetable, overnight
FR 1062 leaves 22 h 30 after FR 6792 arrives on the timetable: more than half a day, so not a connection we count.