LO 2161 then FR 6608 at Madrid
Krakow → Madrid → Rabat
Timetable, Madrid time
19:00LO 2161 from Krakow at the gate
13:20FR 6608 to Rabat leaves the gate
18 h 20 apart on the timetable, overnight
FR 6608 leaves 18 h 20 after LO 2161 arrives on the timetable: more than half a day, so not a connection we count.