FR 7070 then AA 8679 at Madrid
Gdansk → Madrid → Porto
Timetable, Madrid time
21:00FR 7070 from Gdansk at the gate
11:25AA 8679 to Porto leaves the gate
14 h 25 apart on the timetable, overnight
AA 8679 leaves 14 h 25 after FR 7070 arrives on the timetable: more than half a day, so not a connection we count.