FR 6712 then VY 1011 at Madrid
Budapest → Madrid → Barcelona
Timetable, Madrid time
18:10FR 6712 from Budapest at the gate
09:20VY 1011 to Barcelona leaves the gate
15 h 10 apart on the timetable, overnight
VY 1011 leaves 15 h 10 after FR 6712 arrives on the timetable: more than half a day, so not a connection we count.