FR 5515 then DL 6754 at Madrid
Krakow → Madrid → Porto
Timetable, Madrid time
10:55FR 5515 from Krakow at the gate
10:35DL 6754 to Porto leaves the gatealso AM 6893, EY 7517, AD 7868
23 h 40 apart on the timetable, overnight
DL 6754 leaves 23 h 40 after FR 5515 arrives on the timetable: more than half a day, so not a connection we count.