FR 5357 then IB 1243 at Madrid
Krakow → Madrid → Bologna
Timetable, Madrid time
22:20FR 5357 from Krakow at the gate
21:20IB 1243 to Bologna leaves the gatealso LA 1730, VY 5554, QR 8085
23 h apart on the timetable, overnight
IB 1243 leaves 23 h after FR 5357 arrives on the timetable: more than half a day, so not a connection we count.