EC 7154 then VY 1562 at Barcelona
Milan → Barcelona → Málaga
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
19:25VY 1562 to Málaga leaves the gatealso IB 5512, LL 5512
20 h 10 apart on the timetable, overnight
VY 1562 leaves 20 h 10 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.