FR 7070 then FR 348 at Madrid
Gdansk → Madrid → London Stansted
Timetable, Madrid time
21:00FR 7070 from Gdansk at the gate
14:30FR 348 to London Stansted leaves the gate
17 h 30 apart on the timetable, overnight
FR 348 leaves 17 h 30 after FR 7070 arrives on the timetable: more than half a day, so not a connection we count.