FR 7070 then IB 1149 at Madrid
Gdansk → Madrid → Porto
Timetable, Madrid time
19:55FR 7070 from Gdansk at the gate
11:25IB 1149 to Porto leaves the gatealso CX 1922, AY 4791, VY 5752
15 h 30 apart on the timetable, overnight
IB 1149 leaves 15 h 30 after FR 7070 arrives on the timetable: more than half a day, so not a connection we count.