FR 3147 then FR 3035 at Barcelona
Oujda → Barcelona → Krakow
Timetable, Barcelona time
20:10FR 3147 from Oujda at the gate
11:05FR 3035 to Krakow leaves the gate
14 h 55 apart on the timetable, overnight
FR 3035 leaves 14 h 55 after FR 3147 arrives on the timetable: more than half a day, so not a connection we count.