FR 4272 then FR 3035 at Barcelona
Poznan → Barcelona → Krakow
Timetable, Barcelona time
17:20FR 4272 from Poznan at the gate
09:35FR 3035 to Krakow leaves the gate
16 h 15 apart on the timetable, overnight
FR 3035 leaves 16 h 15 after FR 4272 arrives on the timetable: more than half a day, so not a connection we count.