FR 5357 then FR 2082 at Madrid
Krakow → Madrid → Birmingham (UK)
Timetable, Madrid time
22:20FR 5357 from Krakow at the gate
21:00FR 2082 to Birmingham (UK) leaves the gate
22 h 40 apart on the timetable, overnight
FR 2082 leaves 22 h 40 after FR 5357 arrives on the timetable: more than half a day, so not a connection we count.