OS 780 then FR 689 at Vienna
Sofia → Vienna → Madrid
Timetable, Vienna time
08:35OS 780 from Sofia at the gate
06:00FR 689 to Madrid leaves the gate
21 h 25 apart on the timetable, overnight
FR 689 leaves 21 h 25 after OS 780 arrives on the timetable: more than half a day, so not a connection we count.