FR 606 then FR 1061 at Madrid
Copenhagen → Madrid → Warsaw Modlin
Timetable, Madrid time
13:35FR 606 from Copenhagen at the gate
12:40FR 1061 to Warsaw Modlin leaves the gate
23 h 05 apart on the timetable, overnight
FR 1061 leaves 23 h 05 after FR 606 arrives on the timetable: more than half a day, so not a connection we count.