FR 5494 then LO 2162 at Madrid
Milan Bergamo → Madrid → Krakow
Timetable, Madrid time
00:35FR 5494 from Milan Bergamo at the gate
20:00LO 2162 to Krakow leaves the gate
19 h 25 apart on the timetable
LO 2162 leaves 19 h 25 after FR 5494 arrives on the timetable: more than half a day, so not a connection we count.