FR 2514 then VY 1015 at Madrid
Bucharest → Madrid → Barcelona
Timetable, Madrid time
00:45FR 2514 from Bucharest at the gate
18:35VY 1015 to Barcelona leaves the gate
17 h 50 apart on the timetable
VY 1015 leaves 17 h 50 after FR 2514 arrives on the timetable: more than half a day, so not a connection we count.