FR 3188 then W6 2096 at Barcelona
Fes → Barcelona → Krakow
Timetable, Barcelona time
20:55FR 3188 from Fes at the gate
19:05W6 2096 to Krakow leaves the gatealso FR 5252
22 h 10 apart on the timetable, overnight
W6 2096 leaves 22 h 10 after FR 3188 arrives on the timetable: more than half a day, so not a connection we count.