FR 50 then IB 792 at Vienna
Treviso → Vienna → Madrid
Timetable, Vienna time
13:20FR 50 from Treviso at the gate
12:20IB 792 to Madrid leaves the gate
23 h apart on the timetable, overnight
IB 792 leaves 23 h after FR 50 arrives on the timetable: more than half a day, so not a connection we count.