FR 7351 then FR 704 at Vienna
Barcelona → Vienna → Málaga
Timetable, Vienna time
22:40FR 7351 from Barcelona at the gate
15:20FR 704 to Málaga leaves the gate
16 h 40 apart on the timetable, overnight
FR 704 leaves 16 h 40 after FR 7351 arrives on the timetable: more than half a day, so not a connection we count.