FR 199 then FR 689 at Vienna
Vilnius → Vienna → Madrid
Timetable, Vienna time
15:20FR 199 from Vilnius at the gate
13:55FR 689 to Madrid leaves the gate
22 h 35 apart on the timetable, overnight
FR 689 leaves 22 h 35 after FR 199 arrives on the timetable: more than half a day, so not a connection we count.