EC 3749 then VY 1008 at Barcelona
Milan → Barcelona → Madrid
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
16:30VY 1008 to Madrid leaves the gatealso QR 3515, QR 5529, IB 5992, LL 5992
19 h apart on the timetable, overnight
VY 1008 leaves 19 h after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.