FR 7283 then IB 797 at Madrid
Torino → Madrid → Vienna
Timetable, Madrid time
23:25FR 7283 from Torino at the gate
19:55IB 797 to Vienna leaves the gate
20 h 30 apart on the timetable, overnight
IB 797 leaves 20 h 30 after FR 7283 arrives on the timetable: more than half a day, so not a connection we count.