EC 7154 then IB 5852 at Barcelona
Milan → Barcelona → Edinburgh
Timetable, Barcelona time
23:15EC 7154 from Milan at the gate
17:50IB 5852 to Edinburgh leaves the gatealso LL 5852, VY 7752, BA 8102
18 h 35 apart on the timetable, overnight
IB 5852 leaves 18 h 35 after EC 7154 arrives on the timetable: more than half a day, so not a connection we count.