IB 791 then FR 1645 at Vienna
Madrid → Vienna → Rome
Timetable, Vienna time
11:40IB 791 from Madrid at the gate
08:35FR 1645 to Rome leaves the gate
20 h 55 apart on the timetable, overnight
FR 1645 leaves 20 h 55 after IB 791 arrives on the timetable: more than half a day, so not a connection we count.