FR 5316 then VY 1009 at Madrid
Rome → Madrid → Barcelona
Timetable, Madrid time
23:40FR 5316 from Rome at the gate
18:35VY 1009 to Barcelona leaves the gatealso QR 5530, IB 5993, LL 5993
18 h 55 apart on the timetable, overnight
VY 1009 leaves 18 h 55 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.