FR 574 then VY 1560 at Barcelona
Bologna → Barcelona → Málaga
Timetable, Barcelona time
21:10FR 574 from Bologna at the gate
20:55VY 1560 to Málaga leaves the gate
23 h 45 apart on the timetable, overnight
VY 1560 leaves 23 h 45 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.