FR 403 then FR 7071 at Madrid
Palma de Mallorca → Madrid → Gdansk
Timetable, Madrid time
23:35FR 403 from Palma de Mallorca at the gate
21:35FR 7071 to Gdansk leaves the gate
22 h apart on the timetable, overnight
FR 7071 leaves 22 h after FR 403 arrives on the timetable: more than half a day, so not a connection we count.