FR 334 then FR 9811 at Barcelona
Gdansk → Barcelona → London Stansted
Timetable, Barcelona time
09:15FR 334 from Gdansk at the gate
07:55FR 9811 to London Stansted leaves the gate
22 h 40 apart on the timetable, overnight
FR 9811 leaves 22 h 40 after FR 334 arrives on the timetable: more than half a day, so not a connection we count.