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