FR 5515 then FR 498 at Madrid
Krakow → Madrid → London Stansted
Timetable, Madrid time
10:55FR 5515 from Krakow at the gate
10:25FR 498 to London Stansted leaves the gate
23 h 30 apart on the timetable, overnight
FR 498 leaves 23 h 30 after FR 5515 arrives on the timetable: more than half a day, so not a connection we count.