SQ 387 then VY 6110 at Barcelona
Madrid → Barcelona → Bologna
Timetable, Barcelona time
11:15SQ 387 from Madrid at the gate
06:40VY 6110 to Bologna leaves the gate
19 h 25 apart on the timetable, overnight
VY 6110 leaves 19 h 25 after SQ 387 arrives on the timetable: more than half a day, so not a connection we count.