IB 791 then FR 590 at Vienna
Madrid → Vienna → Málaga
Timetable, Vienna time
11:40IB 791 from Madrid at the gate
05:55FR 590 to Málaga leaves the gate
18 h 15 apart on the timetable, overnight
FR 590 leaves 18 h 15 after IB 791 arrives on the timetable: more than half a day, so not a connection we count.