AY 1076 then FR 9856 at Helsinki
Riga → Helsinki → Vienna
Timetable, Helsinki time
19:25AY 1076 from Riga at the gate
15:20FR 9856 to Vienna leaves the gate
19 h 55 apart on the timetable, overnight
FR 9856 leaves 19 h 55 after AY 1076 arrives on the timetable: more than half a day, so not a connection we count.