FR 9857 then AY 1661 at Helsinki
Vienna → Helsinki → Madrid
Timetable, Helsinki time
20:15FR 9857 from Vienna at the gate
16:40AY 1661 to Madrid leaves the gate
20 h 25 apart on the timetable, overnight
AY 1661 leaves 20 h 25 after FR 9857 arrives on the timetable: more than half a day, so not a connection we count.