UX 7311 then VY 1011 at Madrid
Vigo → Madrid → Barcelona
Timetable, Madrid time
09:40UX 7311 from Vigo at the gate
09:20VY 1011 to Barcelona leaves the gate
23 h 40 apart on the timetable, overnight
VY 1011 leaves 23 h 40 after UX 7311 arrives on the timetable: more than half a day, so not a connection we count.