FR 2628 then FR 1062 at Madrid
London Stansted → Madrid → Warsaw Modlin
Timetable, Madrid time
23:20FR 2628 from London Stansted at the gate
20:35FR 1062 to Warsaw Modlin leaves the gate
21 h 15 apart on the timetable, overnight
FR 1062 leaves 21 h 15 after FR 2628 arrives on the timetable: more than half a day, so not a connection we count.