FR 2052 then FR 1061 at Madrid
Palma de Mallorca → Madrid → Warsaw Modlin
Timetable, Madrid time
16:50FR 2052 from Palma de Mallorca at the gate
12:40FR 1061 to Warsaw Modlin leaves the gate
19 h 50 apart on the timetable, overnight
FR 1061 leaves 19 h 50 after FR 2052 arrives on the timetable: more than half a day, so not a connection we count.