FR 998 then I2 1853 at Madrid
Wroclaw → Madrid → Marrakesh
Timetable, Madrid time
12:50FR 998 from Wroclaw at the gate
11:50I2 1853 to Marrakesh leaves the gate
23 h apart on the timetable, overnight
I2 1853 leaves 23 h after FR 998 arrives on the timetable: more than half a day, so not a connection we count.