FR 8717 then FR 2141 at Manchester
Madrid → Manchester → Krakow
Timetable, Manchester time
12:40FR 8717 from Madrid at the gate
05:40FR 2141 to Krakow leaves the gate
17 h apart on the timetable, overnight
FR 2141 leaves 17 h after FR 8717 arrives on the timetable: more than half a day, so not a connection we count.