IB 987 then FR 2141 at Manchester
Madrid → Manchester → Krakow
Timetable, Manchester time
13:05IB 987 from Madrid at the gate
09:15FR 2141 to Krakow leaves the gate
20 h 10 apart on the timetable, overnight
FR 2141 leaves 20 h 10 after IB 987 arrives on the timetable: more than half a day, so not a connection we count.