UX 7701 then EC 3750 at Barcelona
Madrid → Barcelona → Milan
Timetable, Barcelona time
08:55UX 7701 from Madrid at the gate
22:05EC 3750 to Milan leaves the gate
13 h 10 apart on the timetable
EC 3750 leaves 13 h 10 after UX 7701 arrives on the timetable: more than half a day, so not a connection we count.