FR 7070 then IB 1851 at Madrid
Gdansk → Madrid → Marrakesh
Timetable, Madrid time
21:00FR 7070 from Gdansk at the gate
10:15IB 1851 to Marrakesh leaves the gatealso VY 5278, BA 7116, QR 8019, AA 8647
13 h 15 apart on the timetable, overnight
IB 1851 leaves 13 h 15 after FR 7070 arrives on the timetable: more than half a day, so not a connection we count.