FR 215 then FR 704 at Vienna
Milan → Vienna → Málaga
Timetable, Vienna time
15:50FR 215 from Milan at the gate
15:20FR 704 to Málaga leaves the gate
23 h 30 apart on the timetable, overnight
FR 704 leaves 23 h 30 after FR 215 arrives on the timetable: more than half a day, so not a connection we count.