FR 2240 then FR 3035 at Barcelona
Marrakesh → Barcelona → Krakow
Timetable, Barcelona time
13:25FR 2240 from Marrakesh at the gate
11:05FR 3035 to Krakow leaves the gate
21 h 40 apart on the timetable, overnight
FR 3035 leaves 21 h 40 after FR 2240 arrives on the timetable: more than half a day, so not a connection we count.